chiark / gitweb /
umask: change default umask to 0022 just to be sure, and set it explicitly in all...
[elogind.git] / src / tmpfiles.c
index 3a1985a36334c1b01dd1b6651fa39dbb89fd71fd..421a9154c5b0c1cdee9a21460f146ff2ddcb8390 100644 (file)
@@ -972,6 +972,8 @@ int main(int argc, char *argv[]) {
         log_parse_environment();
         log_open();
 
+        umask(0022);
+
         label_init();
 
         items = hashmap_new(string_hash_func, string_compare_func);