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

Sandeep Nashikkar snashikkar at commvault.com
Thu Jul 26 06:57:18 UTC 2018



On  Thur, July 26, 2018 Jeremy Allison via samba-technical wrote:
> 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.

On the other hand, this can be easily controlled by a parameter in the plugin with command 
net conf setparm <share name> "nfs4acl_xattr:xattr_name" "system.nfs4_acl"

If it is not okay to hard code it in the plugin code, we can always keep it unchanged and rely on this parameter. 

Thanks,
Sandeep
***************************Legal Disclaimer***************************
"This communication may contain confidential and privileged material for the
sole use of the intended recipient. Any unauthorized review, use or distribution
by others is strictly prohibited. If you have received the message by mistake,
please advise the sender by reply email and delete the message. Thank you."
**********************************************************************




More information about the samba-technical mailing list