Permissions are incorrectly ordered issue

2 replies [Last post]
docholo
User offline. Last seen 18 weeks 4 days ago. Offline
Joined: 01.11.2009
Posts:

I have a cwrsync server on one machine and a cwrsync client on another. Both are windows machines. If I pull from the server with rsync -v -r -P rsync:///server/share /cygdrive/z/localdir the files will copy to the client OK but the file ACL will be messed up. If I turn off simple sharing, right click on a downloaded file and hit properties, security tab, windows warns:

The permissions on X are incorrectly ordered, which may cause some entries to be inneffective. Press OK to continue and sort the permissions correctly, or Cancel to reset the permissions.

I have other problems caused by these incorrectly ordered permissions (can't serve the downloaded files out via a UNC share for example) that go away when Windows fixes the ACL.

 

I think rsync is trying to be clever and copy the ACL exactly and this doesn't work for some reason. I just want it to copy the files over like a dumb ftp client. How can I make cwrsync client make a regular everybody readable file?

I was using cwrsync 4.0.1 but I downgraded to 3.1.0 to see if that would fix the problem. It did not.

tk
User offline. Last seen 2 days 13 hours ago. Offline
Joined: 01.05.2008
Posts:
For version 3.x: Make sure

For version 3.x: Make sure that you use the supplied batch file for rsync operations

For version 4.x: Make sure that you have a copy of the etc/fstab file from the cwrsync server in the same directory as rsync executable or in the subdirectory etc.

palswim
User offline. Last seen 6 weeks 1 day ago. Offline
Joined: 08.01.2010
Posts:
Same error, but pushing

I'm hitting this same error, but on the pushing side of thing.  I'm pushing from a Vista box to a Server 2008 box and it looks like cwRsync wants to touch permissions when I'd rather it just put a file somewhere and let the permissions cascade to that file.

 

rsync.exe -rt /cygdrive/DRIVE/pictures/ rsync://HOST/pictures

and in the server's rsyncd.conf:

use chroot = false
strict modes = false
hosts allow = *
log file = rsyncd.log
[pictures]
path = /cygdrive/d/pictures
read only = false
 

I have the default etc/fstab file on my server

Who's online

There are currently 0 users and 20 guests online.

Site statistics

Registered users2539
Posts1902
Comments4926