summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-09-07 20:13:49 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-09-07 20:13:49 +0000
commit4be3f6cfef4cd8102fc2f596162e7cd707e6ecb2 (patch)
treed3ce3ca81dfff5dc14bf27e5af7dd7b270e16eba /etc/rc
parentc43bb9ad6ab48a9c3a130dab6a0392f330415bba (diff)
downloadpfsense-4be3f6cfef4cd8102fc2f596162e7cd707e6ecb2.zip
pfsense-4be3f6cfef4cd8102fc2f596162e7cd707e6ecb2.tar.gz
Use correct octal mode
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index c97fd0c..5785bf8 100755
--- a/etc/rc
+++ b/etc/rc
@@ -141,7 +141,7 @@ if [ ! -h /tmp/tmp ]; then
ln -hfs / /tmp/tmp
fi
-# Make sure our /tmp is 777
+# Make sure our /tmp is 777 + Sticky
chmod 1777 /tmp
if [ ! "$PLATFORM" = "cdrom" ] ; then
@@ -193,7 +193,7 @@ rm -f /var/etc/nameserver*
# Create uploadbar tmp directory
mkdir -p /tmp/uploadbar
-chmod 777 /tmp/uploadbar
+chmod 0777 /tmp/uploadbar
# make some directories in /var
mkdir -p /var/run /var/log /var/etc /var/db/entropy /var/at/jobs/ /var/empty 2>/dev/null
OpenPOWER on IntegriCloud