Correct permissions on /var/tmp
rwatson at FreeBSD.org
Sun Jan 15 15:50:13 GMT 2006
On Wed, 4 Jan 2006, Dominic Mitchell wrote:
> On Wed, Jan 04, 2006 at 08:08:18AM +0000, Frank Shute wrote:
>> Well, I spent a fairly happy Xmas playing with my new toy.
>> In my last missive I described how I wanted to move stuff from /var to
>> /usr/var but I then ran into a problem with /var/tmp
>> Both X and gconf want to write temporary files there but there was a
>> permission problem.
>> To fix I did:
>> # chmod 777 /var/tmp
>> Can somebody tell me what the correct permissions for /var/tmp is?
> All tmp directories should be 1777. The extra "1" in front means that you
> can't delete files that you don't own.
FYI, the sticky(8) man page is a useful read for details.
Robert N M Watson
More information about the Ukfreebsd