diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-06-21 02:20:24 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-06-21 02:20:24 +0200 |
commit | 81979fbdac8e16fda72b492e756686c04d35c5d7 (patch) | |
tree | 231b97cf684ce3f65db763068cea16b2d23be627 /daemons/runsystem.sh | |
parent | ffd73488f9eecdb9da40e15f5fdcebf392cb88f8 (diff) |
Set default umask to 022
* daemons/runsystem.sh: Call umask 022.
Diffstat (limited to 'daemons/runsystem.sh')
-rw-r--r-- | daemons/runsystem.sh | 2 |
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' |