#136 rsync failed to set correct NFSv4 ACLs

9.0.0.1
open
nobody
None
1
2013-10-18
2013-10-18
PaVa
No

rsync from revision 847 behaves quite weird. I was not able to rsync a file with ACLs until I "borrowed" a rsync binary from a current version of FreeNAS.

Tried to do a rsync on a ZFS dataset with
aclmode=passthrough
aclinherit=passthrough

My commandline was just rsync -aAv aclfile.txt aclfile2.txt.
Unfortunatelly getfacl aclfile2.-txt revealed a terrible mess with ACL's
( permissions was altered and owner of file was banned by placing owner@:rwxp----------:------:deny at top of the ACL list)

It looks like this version of rsync silently ignore the --acls option although when ran with --version switch the ACL is among the other capabilities.

rsync version 3.0.9 protocol version 30
Capabilities:
64-bit files, 32-bit inums, 64-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
append, ACLs, xattrs, iconv, symtimes, file-flags

Note that file-flags capability is not listed when with the rsync from FReeNAS

Discussion