[Samba] modify only, not deletable

Rashid N. Achilov achilov-rn at askd.ru
Tue Feb 13 09:31:38 GMT 2007


On Tuesday 13 February 2007 14:30, Joshua, C.S. Chen wrote:
> Hi folks,
> I have a samba file server joining a Windows 2k AD as member server.
> I wonder how I can setup the files on the samba share to be modifiable
> by users, but no one can delete them. Is it possible? linux chattr
> command doesn't seems to help, and I can only setup windows share
> permission (full control, read,write) for the samba files from windows
> interface, not NTFS detailed permissions. Any idea?

When you are under FreeBSD, it has chflags command to set "undeletable" flag. 
I think, trying to delete flagged file should lead to "access denied" 
message.
-- 
   With Best Regards.
   Rashid N. Achilov (RNA1-RIPE), Web: http://www.askd.ru/~shelton
   OOO "ACK" telecommunications administrator, e-mail: achilov-rn [at] askd.ru
   PGP: 83 CD E2 A7 37 4A D5 81 D6 D6 52 BF C9 2F 85 AF 97 BE CB 0A


More information about the samba mailing list