]> Savannah Git Hosting - gnulib.git/commit
file-has-acl: handle NFSv4 ACLs with listxattr returning EACCES
authorPádraig Brady <P@draigBrady.com>
Sat, 11 Jan 2025 16:40:33 +0000 (16:40 +0000)
committerPádraig Brady <P@draigBrady.com>
Sat, 11 Jan 2025 16:46:17 +0000 (16:46 +0000)
commit05c63bc908a67a316fea29ddf4c702d89cf5bdec
tree92f87647d7db30a2ac6ac4ebe455456105ec25aa
parent087390203d90b11d49b2ae3cc7c397c27047ad0b
file-has-acl: handle NFSv4 ACLs with listxattr returning EACCES

* lib/file-has-acl.c (has_xattr): A new helper function to
lookup aclinfo for the xattr or fallback to getxattr() if appropriate.
(get_aclinfo): Use has_xattr() rather than aclinfo_has_xattr().
Discussed at <https://bugs.gnu.org/74692>
ChangeLog
lib/file-has-acl.c