[PATCH 2/3 v4] vfs_posixacl: expose acl_t <--> smb_acl_t converter functions

Jeremy Allison jra at samba.org
Fri May 24 17:37:48 MDT 2013


On Fri, May 24, 2013 at 04:21:16PM -0700, Anand Avati wrote:
> 
> Please see my comment in the 3/3 patch in reply to Simo's comments.
> Gluster's ACL format is byte compatible with Linux's ACL byte
> format. Therefore acl_copy_int() works. Your concern is true on
> non-Linux systems (though I'm not sure if they really use a
> different format, but a bad assumption in any case). So I propose
> (as mentioned in that mail) to have a smb_acl_t to gluster-acl
> native converter function which will look similar to the one in
> vfs_posixacl.c, but will decouple.

Yes, that's the only safe way to do it at present I think.

Cheers,

	Jeremy.


More information about the samba-technical mailing list