[plug] Samba permissions issue
Ben Jensz
plug at jensz.id.au
Thu Oct 21 09:19:59 WST 2004
Matt Kemner wrote:
>
>File deletion requires write permission on the directory the file is in,
>not the file itself - because what you are really doing is removing the
>file's entry in the directory. This is a UNIX permission "feature",
>nothing to do with Samba.
>
>However, (under Linux at least) if you set the "sticky" bit (chmod +t or
>something like chmod 1777) on the directory, then only a file's owner can
>delete/rename files - which is why most distributions set the sticky bit
>on /tmp and /var/mail
>
>Regards,
>
> - Matt
>
>
>
Thanks for that Matt :).
I'd never come across that one before...
/ Ben
More information about the plug
mailing list