RE: How to compile Rsync with acl support on Cygwin

2006-03-17 Thread Peter Olivia
I downloaded just the acls.diff and it compiles and builds fine. I was able to do the double --acls entry successfully. All special bits and acls rsync in both directions. ACL only changes get recognized and rsynced too. (BTW, the xattr patch may need to be updated as it patches with fuzz due t

Re: How to compile Rsync with acl support on Cygwin

2006-03-17 Thread Wayne Davison
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. Thi

RE: How to compile Rsync with acl support on Cygwin

2006-03-16 Thread Peter Olivia
Wayne wrote: > The latest version of the acls.diff patch in CVS has the chmod() after > the ACL-setting call, and I've just enhanced the code to work with a > system where the special mode bits get cleared (though I didn't have an >easy way to test this yet). I also fixed a few compiler warnings

Re: How to compile Rsync with acl support on Cygwin

2006-03-16 Thread Wayne Davison
On Thu, Mar 16, 2006 at 11:21:49AM -0500, Peter Olivia wrote: > I have since tested it using the 2.6.6 and 2.6.7 code successfully. I > was able to rsync acls intact to and from my Linux server. Cool. I've checked in your suggested change to the CVS version of the ACL patch, so now Cygwin will c

How to compile Rsync with acl support on Cygwin

2006-03-16 Thread Peter Olivia
Problem: --- For sometime now, I have wanted to be able to rsync ACLs of files on windows machines to a Linux server.  I never saw anyone post anything about how to make it work.  I tried, but I was never able to compile on Cygwin when I patched the source with the acls.diff patch.  .