beware misleading errors

1 post / 0 new
Last seen: 14 years 10 months ago
Joined: 01.05.2008 - 21:33
beware misleading errors

After upgrading my rsync server installation to 2.0.2 I ran a backup script and got:

receiving file list ... rsync: link_stat "/Administrator/Application Data/." (in Profiles) failed: No such file or directory (2)
client: nothing to do: perhaps you need to specify some filenames or the --recursive option?
rsync error: some files could not be transferred (code 23) at main.c(812)

Nothing else had changed. The config file was copied over from the previous installation. The "--recursive option" suggestion made no sense as I was using -a already.

Although it is claiming "No such file or directory," knowing that newer cwRsync installs run under a SvcwRsync user account, and that my original system ran under Administrator, I suspected permissions. Sure enough, granting read access to SvcwRsync for the directory in question solved the problem.

This is probably a problem with the upstream rsync code (or the way Cygwin maps OS errors) and not something that can be fixed in cwRsync, but perhaps should be an FAQ somewhere and maybe passed on to the upstream projects.


Release news