What ACL options woudl be best for s3fs?

Jeremy Allison jra at samba.org
Tue Mar 13 11:37:33 MDT 2012


On Tue, Mar 13, 2012 at 11:21:46AM +1100, Andrew Bartlett wrote:
> On Mon, 2012-03-12 at 16:54 -0700, Jeremy Allison wrote:
> > 
> > Does provision write ACLs into the filesystem ? If it does
> > can you point me at that code ?
> 
> source4/scripting/python/samba/provision/__init__.py
> 
> We write the ACL directly to disk (using the NT ACL in the xattr or
> tdb).  I would like to keep the same method, but if we cannot, one
> alternative could be to wrap the vfs modules in python modules, in a way
> similar to vfstest (but it would be a lot of work). 

Ok, I'll take a look.

> > > What options are available for hosts that do not support extended
> > > attributes?  Samba4 sets an option to store everything into a TDB in
> > > this case, and this is used a lot in make test.  What option should I
> > > set for smbd, other than:
> > 
> > If there are no xattrs you can either use acl_tdb
> > directly, or stack vfs_acl_xattr on top of xattr_tdb.
> 
> Do either of these use the same tdb format as Samba4?

I don't think so - the Samba4 server independently
re-implemented this without looking at the source3
code as I recall.

Jeremy.


More information about the samba-technical mailing list