summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-06-21 02:20:24 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-06-21 02:20:24 +0200
commit81979fbdac8e16fda72b492e756686c04d35c5d7 (patch)
tree231b97cf684ce3f65db763068cea16b2d23be627
parentffd73488f9eecdb9da40e15f5fdcebf392cb88f8 (diff)
Set default umask to 022
* daemons/runsystem.sh: Call umask 022.
-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'