ACL's over nfsv4

J. Bruce Fields bfields at fieldses.org
Sun Mar 30 11:29:53 EDT 2008


On Sat, Mar 29, 2008 at 09:59:26PM -0700, Philip Moose wrote:
> I am trying to get ACL'S working between Ubuntu 7.10 and Solaris 10 
> using NFSv4.  I am able to read and write via the nfsv4 mount but ACL's 
> are not working, error: "operation not supported."
> 
> I have been searching the net and reading Solaris and Linux manuals but 
> I still have not found an answer.  Any assistance would be greatly 
> appreciated.

The standard posix acl utilities (getfacl, setfacl, etc.) don't support
nfsv4, since nfsv4 acls are very different from posix acls.

So you have two choices; source for both is available from
http://citi.umich.edu/projects/nfsv4/linux/

	- You can patch the posix acl utilities to support nfsv4 acls.
	  We do this with a rather complex and finicky mapping
	  between the two types of acls, so this is not the preferred
	  approach.
	- Better: you can use utilities that deal directly with nfsv4
	  acls; see the "nfs4-acl-tools" tarball referenced from the url
	  above.

--b.


More information about the NFSv4 mailing list