[Samba] inherit acls

Jeremy Allison jra at samba.org
Wed May 2 10:19:58 MDT 2012

On Wed, May 02, 2012 at 02:57:45PM +0200, Heinz Hölzl wrote:
> hi
> If i create a new file x.txt,  samba sets the permission of the
> group users to rwx.  "inherit acls" is set to yes. Why samba sets
> the permission to rwx instead of rw (the default permission of the
> parent) ?

You have "map archive" set (it's set by default).
New files have the archive bit set by default. Try
storing the attribute bits in extended attributes

   store dos attributes = yes
   dos filemode = yes
   map readonly = no
   map system = no
   map hidden = no
   map archive = no

More information about the samba mailing list