chiark / gitweb /
umask: change default umask to 0022 just to be sure, and set it explicitly in all...
[elogind.git] / src / tty-ask-password-agent.c
index ca183c350b2143cadf73ee744b9000bdb0959e19..43d008fc7038278588116578eaf67051d5231094 100644 (file)
@@ -728,6 +728,8 @@ int main(int argc, char *argv[]) {
         log_parse_environment();
         log_open();
 
+        umask(0022);
+
         if ((r = parse_argv(argc, argv)) <= 0)
                 goto finish;