Wrong file permissions on /var/tmp and missing sticky bit when using /var as RAM disk
When pfsense (full install) is configured to use /var as RAM disk, the directory permissions of /var/tmp are set to 755 and the sticky bit is missing.
This leads to errors f.e. when using squid with clamav, letting the icap service startup fail, because clamav user has no write permissions on /var/tmp.
Updated by Malcolm Hussain-Gambles almost 5 years ago
2.4.0-BETA (arm) built on Thu Feb 02 12:37:50 CST 2017
Still not fixed.
Not using RAM disk:
drwxrwxrwt 4 root wheel 512 Jan 27 14:41 /var/tmp
drwxrwxrwt 3 root wheel 1024 Feb 3 09:13 /tmp
Using RAM disk:
drwxr-xr-x 4 root wheel 512 Feb 3 09:16 /var/tmp
drwxrwxrwt 4 root wheel 1024 Feb 3 09:19 /tmp