Project

General

Profile

Bug #7120

Wrong file permissions on /var/tmp and missing sticky bit when using /var as RAM disk

Added by Alexander Berkes about 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Low
Category:
Operating System
Target version:
Start date:
01/13/2017
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.3.x
Affected Architecture:
amd64

Description

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.

Associated revisions

Revision fc1caa41 (diff)
Added by Renato Botelho about 2 years ago

Make sure /var/tmp permissions are correct. Fixes #7120

Revision 92b50e1a (diff)
Added by Renato Botelho about 2 years ago

Make sure /var/tmp permissions are correct. Fixes #7120

Revision bc8eedaa (diff)
Added by Renato Botelho about 2 years ago

Really fix #7120 after a bad copy/paste

Revision 042911d3 (diff)
Added by Renato Botelho about 2 years ago

Fix #7120: Restore vendor mac address when spoofmac is set to blank

Revision 358354b9 (diff)
Added by Renato Botelho almost 2 years ago

Fix #7120: Restore vendor mac address when spoofmac is set to blank

History

#1 Updated by Renato Botelho about 2 years ago

  • Assignee set to Renato Botelho
  • Target version set to 2.4.0

#2 Updated by Renato Botelho about 2 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#3 Updated by Malcolm Hussain-Gambles about 2 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

#4 Updated by Jim Pingle about 2 years ago

  • Target version changed from 2.4.0 to 2.3.3

#5 Updated by Renato Botelho about 2 years ago

  • Status changed from Feedback to Resolved

really fixed now!

Also available in: Atom PDF