« Return to Thread: Cygwin Problems on Vista (Install and others)

Re: Cygwin Problems on Vista (Install and others)

by DaveB :: Rate this Message:

Reply to Author | View in Thread

rsync problems on Vista cygwin:

My cygwin on Vista seems to work but when I try to do rsync to fixup files on my ftp server, it chokes with lots of errors and does a bizarre reset of the permission bits for the destination folder.  Here's what happens:
[this is the same rsync command that works fine on XP]:

===========================
$ rsync -avz --stats --progress -e ssh . mylogin@myftp.com:/mypath/wherever/
mylogin@myftp.com's password: xxxxxx
building file list ...
8 files to consider
./
rsync: failed to modify permissions on "/mypath/wherever/.": Permission denied (13)
rsync: recv_generator: failed to stat "/mypath/wherever/firstfile.xxx": Permission denied (13)
rsync: recv_generator: failed to stat "/mypath/wherever/secondfile.xxx": Permission denied (13)
...etc...
rsync: recv_generator: mkdir "/mypath/wherever/." failed: Permission denied (13)
*** Skipping everything below this failed directory ***

...etc...stats...then...

rsync error: some files could not be transferred (code 23) at /home/lapo/packaging/tmp/rsync-2.6.6/main.c(791)
=============================

Then after I have done this, I find that the remote directory has had all its permission bits turned off (chmod 0) and the files in the folder are not sync'd.  As I said, this is a sequence I have used many times on XP and continues to work there.

Any suggestions?

PS I also got and fixed the mkpasswd problem as below. cygwin starts without errors on Vista but then behaves as described above.
N Y wrote:
I've read that some people can get Cygwin to run on Vista without
problems, but I've run into almost every reported problem.

 « Return to Thread: Cygwin Problems on Vista (Install and others)