Web lists-archives.com

Re: [Samba] Samba-created files with POSIX ACLs gaining execute bit




I figured something as much but all the docs I found pointed to the archive, hidden, and readonly attributes touching the execute bits (see here, for example: https://www.samba.org/samba/docs/using_samba/ch08.html#samba2-CHP-8-FIG-2 <https://www.samba.org/samba/docs/using_samba/ch08.html#samba2-CHP-8-FIG-2>).  That’s why I disabled those mappings in my smb.conf.  Granted the docs I found were older — is this handled differently nowadays?

In any event is there some way to prevent this behavior so I get sane permissions within the *nix environment?

Thanks very much for your response.

Christian

> On Dec 17, 2018, at 7:02 PM, Andrew Bartlett <abartlet@xxxxxxxxx> wrote:
> 
> On Mon, 2018-12-17 at 18:56 -0800, christian russell via samba wrote:
>> Hi all,
>> 
>> I have a Samba share set up using POSIX ACLs as the permissions backend.  I am seeing an issue where files created via the Samba get execute permissions whereas files created via shell do not.  
> 
> Samba maps the windows execute permission to the posix one, which is
> why this happens.
> 
> Andrew Bartlett
> 
> -- 
> Andrew Bartlett
> https://samba.org/~abartlet/
> Authentication Developer, Samba Team         https://samba.org
> Samba Development and Support, Catalyst IT   
> https://catalyst.net.nz/services/samba
> 
> 
> 
> 

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