Setfacl - Operation not supported
J. Bruce Fields
bfields at fieldses.org
Tue Aug 1 12:38:25 EDT 2006
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