How to compile Rsync with acl support on Cygwin

Wayne Davison wayned at
Fri Mar 17 19:12:53 GMT 2006

On Fri, Mar 17, 2006 at 01:33:09AM -0500, Peter Olivia wrote:
> set_acl: sys_acl_set_file(test/.file1.fd94pI, SMB_ACL_TYPE_ACCESS): Invalid argument

The newer ACL patch you're using uses a modified protocol that allows
rsync to be more memory efficient and to send less data over the socket.
This change does makes it incompatible with older ACL-patched rsync
versions, but only when the new version is sending the ACL data.

In the very latest version of the acls.diff patch, there is now a way to
ask the newer rsync to send the ACL data is a way that is compatible
with an older rsync:  just double the -A option.  You'll need to grab
the latest acls.diff patch for this:

(That's the only thing that changed in the latest nightly tar file.)


More information about the rsync mailing list