[Samba] Preventing Windows from changing file permissions

tms3 at tms3.com tms3 at tms3.com
Sat May 15 18:23:15 MDT 2010





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



More information about the samba mailing list