[Samba] Samba + acl,user_xattr

Jeremy Allison jra at samba.org
Wed Dec 14 11:59:20 MST 2011


On Fri, Dec 09, 2011 at 04:36:51PM +0400, Dmitry Mordovin wrote:
> On 12/09/2011 04:26 PM, Jonathan Buzzard wrote:
> >On Fri, 2011-12-09 at 16:05 +0400, Dmitry Mordovin wrote:
> >
> >[SNIP]
> >
> >>Samba config:
> >>
> >>[global]
> >>workgroup = HOME
> >>security = share
> >>max log size = 1024
> >>store dos attributes = yes
> >>map archive = no
> >>map read only = no
> >>map hidden = no
> >>map system = no
> >>create mode = 777
> >>directory mode = 777
> >>
> >>[homes]
> >>browseable = no
> >>printable = no
> >>store dos attributes = yes
> >>
> >>[public]
> >>path = /mnt/public
> >>comment = ""
> >>read only = no
> >>guest ok = yes
> >>follow symlinks = no
> >>store dos attributes = yes
> >>writable = yes
> >>map archive = no
> >>map read only = no
> >>map hidden = no
> >>map system = no
> >>create mode = 777
> >>directory mode = 777
> >I see no vfs objects = acl_xattr in your Samba config. Without that it
> >won't work as there is nothing telling Samba where to store the ACL
> >information.
> >
> >JAB.
> >
> 
> Added to global section
> 
> vfs objects = acl_xattr
> 
> 
> No changes. Still dont store DOS attr.

You only need acl_xattr is you want to store Windows ACLs, not DOS attrs.

Have you tried using setfattr on that filesystem ? Does it work ?

Jeremy.


More information about the samba mailing list