summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--udevd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udevd.c b/udevd.c
index 154c370589..64a6f4d002 100644
--- a/udevd.c
+++ b/udevd.c
@@ -904,7 +904,7 @@ int main(int argc, char *argv[], char *envp[])
setpriority(PRIO_PROCESS, 0, UDEVD_PRIORITY);
chdir("/");
- umask(077);
+ umask(022);
/* become session leader */
sid = setsid();