abee79f vfs: Use posix_sys_acl_blob_get_file in vfs_gpfs for posix ACLs

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Oct 11 05:32:27 MDT 2012


On Thu, Oct 11, 2012 at 10:16:04PM +1100, Andrew Bartlett wrote:
> On Thu, 2012-10-11 at 13:02 +0200, Christian Ambach wrote:
> > Andrew,
> 
> > I do not really understand what the 
> > expected behavior of of gpfsacl_sys_acl_blob_get_fd() and 
> > gpfsacl_sys_acl_blob_get_fd() should be. GPFS supports both the posix 
> > and NFSv4 ACL model, so I guess it will take special care that both 
> > cases are treated correctly.
> 
> The idea is simply:
> 
> If there is an NFSv4 ACL, then we give an error.  The layers above this
> cope with errors, and when the patch to vfs_acl_common is applied
> (currently there are no callers) it will simply fall back to the hash of
> the NT ACL.  (And given the simple mapping, this is less important to
> implement). 
> 
> If it is a posix ACL, then call the posix helper function that
> linearlises the posix ACL into a blob, along with the owner, group and
> mode.
> 
> What was the error BTW?

You DID notice that you broke code, right? AGAIN?

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list