Why does Samba requires 777 permissions on /tmp
Erich Dollansky
erichsfreebsdlist at alogt.com
Sun May 19 06:36:08 UTC 2013
Hi,
On Sun, 19 May 2013 07:06:46 +0100
Matthew Seaman <matthew at FreeBSD.org> wrote:
> On 19/05/2013 03:56, Erich Dollansky wrote:
> > Your problem must be caused by something else. At least, I cannot
> > remember to ever have seen /tmp with a different setting than 0777.
>
> I hope you mean 1777 (drwxrwxrwt) there. That sticky bit is
I only wanted to note that it is octal.
> important. Without it there are a number of nasty attack
> possibilities involving things like using a race condition and
> craftily modifying a sym-link to trick root into overwriting an
> important file.
I did not think of this at all when I have written my response. Of
course, it has to be set and it is set on my machine. I was focusing
only on the fact that all users of a system must be able to write
to /tmp.
Erich
>
> Cheers,
>
> Matthew
>
More information about the freebsd-ports
mailing list