|Main Archive Page > Month Archives > samba-users archives|
Hi Jeremy, tms3,
Thanks for your responses.
I had tried "nt acl support = no", but It didn't help. I tried placing it under my share [homes] and also under [global]. Both didn't help.
The group and world write bits are getting set unless I prevent it by using a "create mask". The application I am using is "Beyond Compare" on a Windows XP desktop.
"create mask" is not what I want because I do not want any changes to the permission of Unix files - neither setting any bits nor clearing any.
--- On Sun, 5/16/10, Jeremy Allison <firstname.lastname@example.org> wrote:
From: Jeremy Allison <email@example.com>
Subject: Re: [Samba] Preventing Windows from changing file permissions
To: "av78us vaal" <firstname.lastname@example.org>
Date: Sunday, May 16, 2010, 5:48 AM
On Sat, May 15, 2010 at 04:30:54AM -0700, av78us vaal wrote:
> 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
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba