[Samba] Preventing Windows from changing file permissions

Jeremy Allison jra at samba.org
Sat May 15 18:18:43 MDT 2010

On Sat, May 15, 2010 at 04:30:54AM -0700, av78us vaal wrote:
> Hi, 
> Is there a way to configure samba such that Windows applications are not allowed to change file permissions for existing files in the share. 
> I just want to be able to read and modify the files from Windows without affecting the file permissions inadvertently. I do not care about any Windows side file attributes such as ACL. 
> I tried several things including parameters such as 'map archive = no', 'security mask = xxx' etc. Nothing seem to result in what exactly I want. This is surprising considering that my requirement is very simple. 

You can always set "nt acl support = no", which is an old
option from when we first added Windows ACLs. Also setting
map XXX = no will stop DOS attributes being mapped to POSIX


More information about the samba mailing list