On 2023-04-28 13:38, Ondrej Valousek wrote:
> On newer systems like Fedora 39, we can't distinguish from the getxattr(,XATTR_NAME_POSIX_ACL_*,,)
> which filesystem we are on. The call return either success or ENODATA.
Does getxattr (name, XATTR_NAME_NFSV4_ACL, xattr, sizeof xattr) also
have this problem on Fedora 39? If not, perhaps we should instead do the
NFSv4 call first, to save the need for the "POSIX" getxattr call when
the file system supports NFSv4. Something like the attached, perhaps?