This patch causes rsync to report which files caused the unpack_smb_acl()
error, instead of just noting that one happened. This allows the end
use to check the ACL of the reported file by hand.
To use this patch, run these commands for a successful build:
patch -p1 <patches/fileflags.diff
patch -p1 <patches/crtimes.diff
patch -p1 <patches/hfs-compression.diff
patch -p1 <patches/hfs-compression-options.diff
patch -p1 <patches/acls-unpack-error.diff
./prepare-source
./configure
make
diff --git a/acls.c b/acls.c
a
|
b
|
|
526 | 526 | |
527 | 527 | sys_acl_free_acl(sacl); |
528 | 528 | if (!ok) { |
| 529 | rsyserr(FERROR_XFER, errno, "get_acl: unpack_smb_acl(%s)", fname); |
529 | 530 | return -1; |
530 | 531 | } |
531 | 532 | } else if (no_acl_syscall_error(errno)) { |