On 2025-05-12 05:43, Ondrej Valousek wrote:
I think they intentionally removed the system.nfs4* in Fedora-42 because commands like 
"cp -a" complained when copying files.

Yes, the removal in 2019 was due to a suggestion[1] by Pádraig, which Kamil Dudka was a bit dubious about[2] but went ahead and did anyway[3]. I'll cc Kamil to see whether he has further comments now.


What we can (and should) do is a check whether the ACLs detected are primitive 
(i.e. no ACLs at all) and in this case, just skip the ACL copy.

The Gnulib patch[4] I recently installed does something like that, except that for efficiency in the non-NFS case it checks whether the ACLs are primitive only if the ACL copy (via attr_copy_file or attr_copy_fd) fails with EOPNOTSUP.

With [4] in place, I guess Pádraig's point is that Bruno's older Gnulib patch[5] is no longer needed. Although I'm not sure about that, I confess that I'm a bit lost.

What a mess, huh?

[1]: https://lists.gnu.org/archive/html/bug-coreutils/2019-03/msg00008.html
[2]: https://lists.gnu.org/archive/html/bug-coreutils/2019-03/msg00018.html
[3]: https://src.fedoraproject.org/rpms/attr/blob/rawhide/f/0003-attr-2.4.48-xattr-conf-nfs4-acls.patch [4]: https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=8a356b77717a2e4f735ec06e326880ca1f61aadb [5]: https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=47947855dda53fd12bbae2a0fccecb2280577a60

Reply via email to