On 29/11/2026 14:00, Andreas Gruenbacher wrote:
When an NFS4 ACL was successfully copied, skip resetting POSIX ACLs.
* lib/qcopy-acl.c (struct copy_context): Add an nfs4_acl field.
(is_attr_permissions): Set the new field when seeing an NFS4 ACL.
(qcopy_acl): Move the inherited permission removal code further down.
Guard it by the USE_ACL macro. When an NFS4 ACL was successfully set,
skip removing inherited POSIX ACLs. When removing inherited permissions
fails with errno == EOPNOTSUPP, there are no permissions to remove and
we are done.
LGTM.
thanks!
Padraig