chiark / gitweb /
umask: change default umask to 0022 just to be sure, and set it explicitly in all...
[elogind.git] / src / cryptsetup.c
index c0caf9a93035e38155cf88f0196721471066ee7a..cf288de63141274da738339dd9fb93cc4affb18b 100644 (file)
@@ -241,6 +241,8 @@ int main(int argc, char *argv[]) {
         log_parse_environment();
         log_open();
 
+        umask(0022);
+
         if (streq(argv[1], "attach")) {
                 uint32_t flags = 0;
                 int k;