summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--daemons/runsystem.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/daemons/runsystem.sh b/daemons/runsystem.sh
index c653807f..c3cb2d62 100644
--- a/daemons/runsystem.sh
+++ b/daemons/runsystem.sh
@@ -14,6 +14,8 @@
PATH=/bin:/sbin
export PATH
+umask 022
+
# If we lose badly, try to exec each of these in turn.
fallback_shells='/bin/sh /bin/bash /bin/csh /bin/ash /bin/shd'