[Samba] Samba Breaks with ACLs

simo idra at samba.org
Mon Oct 30 23:02:42 GMT 2006


On Mon, 2006-10-30 at 15:59 -0600, John Goerzen wrote:
> On Mon, Oct 30, 2006 at 03:48:20PM -0500, simo wrote:
> > On Mon, 2006-10-30 at 13:41 -0600, John Goerzen wrote:
> > > On Mon, Oct 30, 2006 at 08:16:47PM +0100, Henrik Zagerholm wrote:
> > > > You could always edit your fstab file and mount your fs without acl  
> > > > support.
> > > > 
> > > > But you can also take some time and study the ACL support in Samba.  
> > > > Correctly implemented its a powerful feature.
> > > 
> > > At the moment, we just want to stop getting the regular Unix permissions
> > > screwed up...  Yes, I probably should do that at some point, but I don't
> > > understand why enabling it will cause users to lose write permissions to
> > > files that they own.
> > 
> > Maybe posting the relevant part of your smb.conf
> > (masks/modes/inheritance options) may help.
> 
> Sure:
> 
> [data]
>    comment = General Data
>    browseable = yes
>    writeable = yes
>    create mask = 0664
>    directory mask = 0775
>    path = /data/general
> 
> We have no ACL options, and no inheritance options, anywhere.

If you have ACLs you also have XATTRs, in this case you may want to try
do move all dos bits to an EA and see if the readonly mapping is what is
causing you trouble.

map read only = no
map archive = no
map system = no
map hidden = no
store dos attributes = yes

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org
http://samba.org



More information about the samba mailing list