rsync and broken symlinks

Wayne Davison wayned at samba.org
Thu Dec 16 17:02:24 GMT 2004


On Thu, Dec 16, 2004 at 02:34:02PM +0500, Yakov Hrebtov wrote:
> You see, readlink call is successful. But rsync then trying to access
> the referent of symlink... But referent doesnt exist.

The only time that rsync calls access() on the files it is sending is
when the "ignore nonreadable" parameter is set in a rsyncd.conf file (or
if the default for this value was changed in the loadparam.c file from
the normal value of "False").  So, if you're really doing a copy from an
rsync daemon, check that daemon's setting of the "ignore nonreadable"
parameter.  If you're not talking to a daemon, you'll have to figure out
how the value of sDefault.ignore_nonreadable got to be non-zero.

..wayne..


More information about the rsync mailing list