samba-users May 2010 archive
Main Archive Page > Month Archives  > samba-users archives
samba-users: Re: [Samba] Preventing Windows from changing file p

Re: [Samba] Preventing Windows from changing file permissions

From: Jeremy Allison <jra_at_nospam>
Date: Sun May 16 2010 - 00:18:43 GMT
To: av78us vaal <av78us@yahoo.com>

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
permissions.

Jeremy.
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba