[Samba] Dumb question time

Michael Heironimus mkh01 at earthlink.net
Mon Dec 16 22:37:02 GMT 2002


On Tue, Dec 17, 2002 at 09:03:19AM +1100, David Beards wrote:
> A file existing on a SAMBA share with unix permissions 755
> 
> e.g. -rw-r--r--   1 root     other          0 Dec 17 08:51 test.txt
> 
> can be opened in any Windows application and the security acts as 
> expected. i.e. any user other than root can open the file but if they 
> try and save it they are prohibited and must save it as a new file. 
> However if a user browses using Explorer they have the ability to delete 
> the file from within explorer. (The only exception is if no user has 
> write permissions to the file.)

What are the UNIX ownerships/permissions on the directory containing
test.txt? If the directory is writable to the users they will be able to
delete any file in the directory, regardless of ownership. If you want
the directory to remain writable to the users but have them only be able
to delete files they own you'll need to "chmod +t directory".

-- 
Michael Heironimus



More information about the samba mailing list