Setfacl - Operation not supported

Machin, Glenn D GMachin at sandia.gov
Tue Aug 1 13:02:56 EDT 2006


Thanks you got it.   For some reason the /lib/libacl.so.1.2.0 did not
get installed.  I went into the acl-2.2.29 directory and did a make
install-lib.  Now everything works.  

PS - I am using the CITI 2.6.17 Kernel


Thanks for the help.



Glenn

 
-----Original Message-----
From: J. Bruce Fields [mailto:bfields at fieldses.org] 
Sent: Tuesday, August 01, 2006 10:38 AM
To: Machin, Glenn D
Cc: nfsv4 at linux-nfs.org
Subject: Re: Setfacl - Operation not supported

On Tue, Aug 01, 2006 at 10:28:43AM -0600, Machin, Glenn D wrote:
> 
> I'm trying to set an acl from an nfs4 client and I  get the message 
> "Operation Not supported"
> 
> I can run the same command on the server to the filesystem that is
> exported and it works.   I have the "acl" option set in /etc/exports.
> What am I missing?
> 
> Another unusual feature is after running the setfacl locally, when I 
> do a getfacl on the NFS mounted file I do not see the acl change.
> 
> Any help would be appreciated.
> 
> 
> Server:
> 		[root at testnfs4 gmachin]# mount
> 			/dev/sda5 on /var type ext3 (rw,acl)

Note the acl mount optiont here is all you need;

> 		/etc/exports on testnfs4:
> 			/var/DFS
> *(rw,fsid=0,insecure,no_subtree_check,acl)

That "acl" in the export options isn't doing anything.

Where is your libacl from, and what kernel version are you using?

Also, strace'ing the failing get/setfacl and grepping for "xattr" might
be enlightening;

	strace -otmp getfacl foo
	grep xattr tmp

--b.




More information about the NFSv4 mailing list