BUG - cwrsync throwing chown failed

2 posts / 0 new
Last post
cd19s
Offline
Last seen: 13 years 2 months ago
Joined: 31.03.2010 - 16:51
BUG - cwrsync throwing chown failed

When using cwrsync (client), always throwing the following error:

rsync: chown "/cygdrive/c/Users/cd19s-laptop/Documents/openSUSE_11.2/openSUSE-11
.2-DVD-x86_64.iso" failed: Invalid argument (22)

Windows Vista does not have a "chown" capability and none appears evident in the batch file to start cwrsync.

Have had "SYSTEM" take ownership of all files in C:\Program Files\cwRsync so as to be consistent with other folders in "Program Files".  Did not solve problem.

Have tried running batch file with cwrsync folder as current directory as well as target directory of iso as current directory.  Still fails.

Have tried editing batch file as user and as priviledged user (Administrator).  Still fails.

Have tried running console as user and as priviledged user (Administrator).  Still fails.

Have tried setting target iso and batch file to same owner.  Still fails.

cwrsync is able to connect to the remote sever, and is able to start the process of sync, but consistently fails as above.

System:  Windows Vista Home

cwrsync Version:  4.0.4

cygwin version:  1.7.2

Reproducable:  Always

 

mstruzak
Offline
Last seen: 13 years 1 month ago
Joined: 20.04.2010 - 19:55
I was getting the same errors

I was getting the same errors using cwRsyncServer on an XP box, receiving files from a Fedora 12 system.  The command I was using to push the files from Fedora:

rsync -av <local_path>/ <pc>::<module>/

This thread provided the solution: replace option a with its equivalent (rlptgoD), but without preserving owner (o) or group (g), as well as link (l), permissions (p), and devices/special files (D): 

rsync -rtv <local_path>/ pc::<module>/

--Marcin

Release news