Correct permissions on /var/tmp

Dominic Mitchell dom at happygiraffe.net
Wed Jan 4 08:36:53 GMT 2006


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.

-Dom




More information about the Ukfreebsd mailing list