Note that the ACL support for FSAL_VFS is purely for code development/unit testing/debug purposes. The ACLs are not stored on stable storage. This should be considered unsupported code. Frank
-----Original Message----- From: subhash.arya@seagate.com [mailto:subhash.arya@seagate.com] Sent: Monday, March 30, 2020 11:25 PM To: support@lists.nfs-ganesha.org Subject: [NFS-Ganesha-Support] Unable to delete last ACE entry of an ACL on FSAL_VFS with ENABLE_VFS_DEBUG_ACL as ON
Hello all,
We are trying to use ACL functionality for FSAL_VFS and seeing the following issue while deleting the ACE entries.
1. Get/List file ACL -bash-4.2$ nfs4_getfacl abc
# file: abc A::dev1:rxtTncy A::sub:rxtTncy
2. Delete specified ACE entry from the ACL and check -bash-4.2$ nfs4_setfacl -x A::dev1:RXT abc -bash-4.2$ nfs4_getfacl abc
# file: abc A::sub:rxtTncy
3. Delete the last ACE bash-4.2$ nfs4_setfacl -x A::sub:RXT abc
4. Check if the last ACE is deleted and it's not. -bash-4.2$ nfs4_getfacl abc
# file: abc A::sub:rxtTncy
Inspite of deleting the last ACE, the nfs4_getfacl still shows the deleted ACE. Could anyone help and let us know if we are missing something here?
Thanks, Subhash _______________________________________________ Support mailing list -- support@lists.nfs-ganesha.org To unsubscribe send an email to support-leave@lists.nfs-ganesha.org