[Samba] Why Can I Delete?

Michael Stearne mstearne at entermix.com
Mon Apr 17 20:16:12 GMT 2006


On 4/17/06, Eric Warnke <ericew at gmail.com> wrote:
> Because everyone has read-write access to the directory, anyone can delete
> any file.  It's basic unix permissions that are catching you on this one.
>
> I think what you are looking for is something more like /tmp where everone
> can read-write there own files, if that is the case you need to do the
> following.
>
> chmod a+t /var/www/advertising
>
> This will make the files "sticky" just like in /tmp so that only the owner
> can delete them.

Thanks so much!

Michael


More information about the samba mailing list