av78us vaal
2010-May-15 11:30 UTC
[Samba] Preventing Windows from changing file permissions
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.? Is this possible in samba.? thanks,Aneesh
tms3 at tms3.com
2010-May-15 16:25 UTC
[Samba] Preventing Windows from changing file permissions
> > --- Original message --- > Subject: [Samba] Preventing Windows from changing file permissions > From: av78us vaal <av78us at yahoo.com> > To: <samba at lists.samba.org> > Date: Saturday, 15/05/2010 4:28 AM > > 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.What changes are you seeing specifically, what app is doing it etc. Would help...> > 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. > Is this possible in samba. > thanks,Aneesh > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
Jeremy Allison
2010-May-16 00:18 UTC
[Samba] Preventing Windows from changing file permissions
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.
tms3 at tms3.com
2010-May-16 00:23 UTC
[Samba] Preventing Windows from changing file permissions
> > --- Original message --- > Subject: Re: [Samba] Preventing Windows from changing file permissions > From: Jeremy Allison <jra at samba.org> > To: av78us vaal <av78us at yahoo.com> > Cc: <samba at lists.samba.org> > Date: Saturday, 15/05/2010 5:16 PM > > 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.Not knowing precisely the error...but how about force user = <user> on the share?> > > > Jeremy. > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba