diff options
author | Renato Botelho <renato@netgate.com> | 2017-01-16 10:34:19 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-01-16 10:34:19 -0200 |
commit | fc1caa413543c9a616ef08061a5861f57a1c0881 (patch) | |
tree | 281415b3b9d656482bca1fce48bb3368988f04da | |
parent | 71b80155c0b17eb89808fd4adf243a08c075762f (diff) | |
download | pfsense-fc1caa413543c9a616ef08061a5861f57a1c0881.zip pfsense-fc1caa413543c9a616ef08061a5861f57a1c0881.tar.gz |
Make sure /var/tmp permissions are correct. Fixes #7120
-rwxr-xr-x | src/etc/pfSense-rc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/etc/pfSense-rc b/src/etc/pfSense-rc index 83e1518..9b80eae 100755 --- a/src/etc/pfSense-rc +++ b/src/etc/pfSense-rc @@ -251,6 +251,8 @@ fi if [ ! -d /var/tmp ]; then /bin/mkdir -p /var/tmp fi +# Make sure our /var/tmp is 777 + Sticky +/bin/chmod 1777 /tmp set -T trap "echo 'Reboot interrupted'; exit 1" 3 |