aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/functions
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-04-03 22:10:13 +0000
committerBill Nottingham <notting@redhat.com>2001-04-03 22:10:13 +0000
commitb31edc5cdd00f449a1b0f06292b726278549c2dc (patch)
tree63010cd59f2eba83b873a6752f0741acf30c5448 /rc.d/init.d/functions
parentf91be56f90b1fd441893f227716c1043c51a39c6 (diff)
downloadinitscripts-b31edc5cdd00f449a1b0f06292b726278549c2dc.tar
initscripts-b31edc5cdd00f449a1b0f06292b726278549c2dc.tar.gz
initscripts-b31edc5cdd00f449a1b0f06292b726278549c2dc.tar.bz2
initscripts-b31edc5cdd00f449a1b0f06292b726278549c2dc.tar.xz
initscripts-b31edc5cdd00f449a1b0f06292b726278549c2dc.zip
set umask to 022
Diffstat (limited to 'rc.d/init.d/functions')
-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"