On 10/07/2024 02:35, Thomas Schmitt wrote:
Here the error happens while trying to set the attribute. Shell equivalent is setfattr -n system.nfs4_acl -v '\0\0\0\3\0\0\0\0\0\0\0\0\0\26\1\247\0\0\0\6OWNER@\0\0\0\0\0' /tmp/x
Shell does not interpret backslashes in single (and double) quotes. $'\0...' might be better
echo '\026' | xxd -g 1 00000000: 5c 30 32 36 0a \026. echo $'\026' | xxd -g 1 00000000: 16 0a ..C-style backslash escapes are interpreted by printf, but besides leading dash it would be necessary to deal with %-formats.
Sorry, I am familiar enough with NFS and extended file attributes to reason if cp should copy system.nfs4_acl in this particular case.