chiark / gitweb /
umask: change default umask to 0022 just to be sure, and set it explicitly in all...
[elogind.git] / src / getty-generator.c
index 7b91094b313b6be4527d30379b231a5a11a13b0e..b8228e98223f83506a54019f427389f46a18f959 100644 (file)
@@ -73,6 +73,8 @@ int main(int argc, char *argv[]) {
         log_parse_environment();
         log_open();
 
+        umask(0022);
+
         if (detect_container(NULL) > 0) {
                 log_debug("Automatic adding console shell.");