[Samba] directory vs. file delete permissions

Mike Williamson tcpamike at bellsouth.net
Mon Dec 9 03:39:00 GMT 2002


Yes, you guys nailed it-- the sticky bit fixed it.  
Thanks!

----- Original Message ----- 
From: "mlh" <mlh at zip.com.au>
To: "root" <tcpamike at bellsouth.net>
Cc: <samba at lists.samba.org>
Sent: Saturday, December 07, 2002 6:19 PM
Subject: Re: [Samba] directory vs. file delete permissions


> My quick answer is to make the directory sticky:
>          chmod +t /home/samba/apps
> this prevents non-owners from deleting files, even
> if they have directory write permission. (this is
> a unix thing, not a samba thing)
> 
> A further comment though, if you allow smbusers to write
> via unix permissions, you do not have to add that to
> the smb.conf 'write list' as well.
> 
> Matt




More information about the samba mailing list