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

Rowland Penny rpenny at samba.org
Thu Dec 20 09:26:35 UTC 2018

On Thu, 20 Dec 2018 00:38:11 -0800
christian russell via samba <samba at lists.samba.org> wrote:

> Hello Marco,
> I am speaking about POSIX ACLs, yes.
> When I create a file via shell I get a 660 file.
> When I create a file via Samba I get a 770 file.
> I don’t understand why they would be different.  Without ACLs shell /
> Samba created files get consistent permissions.

You posted this earlier:

path = /srv/share2 # mode is 0770, ACLs
readonly = no
inherit acts = yes
create mask = 0660

Is that exactly what is set in smb.conf ?
If so, there is a typo ;-)

Can we see your entire smb.conf (less any commented lines), trying to
understand your set up from just seeing the shares isn't enough.


More information about the samba mailing list