aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrc.d/init.d/functions3
1 files changed, 3 insertions, 0 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index 638f32d5..a4ac7719 100755
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -14,6 +14,9 @@
TEXTDOMAIN=initscripts
TEXTDOMAINDIR=/etc/locale
+# Make sure umask is sane
+umask 022
+
# First set up a default search path.
export PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"