[PATCH] Fix for XDR Backend of NFS4ACL_XATTR module to get it working with NFS4.0 ACL Spec

Jeremy Allison jra at samba.org
Wed Jul 25 22:08:04 UTC 2018


On Wed, Jul 25, 2018 at 12:24:04PM +0000, Sandeep Nashikkar via samba-technical wrote:
> 
> Please find attached the updated patch and kindly review it. I added code for
> handling those cases where security principals are converted to string identifiers by nfs-ganesha after restart. 

FYI - what platform are you testing this on ?

If I do the following as my own user on Linux/Debian:

$ touch foo
$ setfattr -n system.nfs4_acl -v testme foo
setfattr: foo: Operation not supported

Even as root:

# setfattr -n system.nfs4_acl -v testme foo
setfattr: foo: Operation not supported

Yet doing:

$ setfattr -n user.nfs4_acl -v testme foo

succeeds.

- in other words, the 'system' namespace
isn't accessible on Linux. I don't think we
can hardcode the 'system' namespace here.

Jeremy.



More information about the samba-technical mailing list