[Samba] modify only, not deletable

Joshua, C.S. Chen cschen at asiaa.sinica.edu.tw
Tue Feb 13 09:49:32 GMT 2007


Rashid N. Achilov wrote:
> 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.
>   

Thanks for the info.
now samba is running on a linux CentOS 4.4, is it possible to do the 
same thing?

Cheers
Joshua



More information about the samba mailing list