[Samba] File And Folder Sharing Security

Derek Shaw samba at bisi.ca
Mon Jun 13 05:25:54 GMT 2005


Anuwa Mohamad Jamili wrote:

>Dear Fellows,
>
>Anyone can help me.. how to protect the file or folder each time user create
>from delete/remove/rename
>
>Example :
>User1 create new file under share folder --> test
>
>How can I protect every file under folder test from delete or remove or
>rename..
>  
>
check the "force create mode" option in the smb.conf man page (and
consider how the other "force...." options might interact with what you
want to do).
you may also want to consider the use of the "sticky bit" on the
directory (http://en.wikipedia.org/wiki/Chmod).

Cheers!
d.



More information about the samba mailing list