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
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:
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):
--Marcin