summaryrefslogtreecommitdiffstats
path: root/src/etc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-01-16 10:34:48 -0200
committerRenato Botelho <renato@netgate.com>2017-01-16 10:34:48 -0200
commit92b50e1a1df8a1da4f432bc7924fc862eceecd55 (patch)
tree886841903e796abb007d16d1263b4386dcb2b6e1 /src/etc
parent64f1fef3d6244f22c309d2cc13d394f1110c023c (diff)
downloadpfsense-92b50e1a1df8a1da4f432bc7924fc862eceecd55.zip
pfsense-92b50e1a1df8a1da4f432bc7924fc862eceecd55.tar.gz
Make sure /var/tmp permissions are correct. Fixes #7120
Diffstat (limited to 'src/etc')
-rwxr-xr-xsrc/etc/rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/etc/rc b/src/etc/rc
index 275cbd8..3e215ad 100755
--- a/src/etc/rc
+++ b/src/etc/rc
@@ -364,6 +364,7 @@ fi
if [ ! -d /var/tmp ]; then
/bin/mkdir -p /var/tmp
fi
+/bin/chmod 1777 /var/tmp
set -T
trap "echo 'Reboot interrupted'; exit 1" 3
OpenPOWER on IntegriCloud