#232914 rsync should not waste time and bandwidth if can't write on remote host

Package:
rsync
Source:
rsync
Description:
fast, versatile, remote (and local) file-copying tool
Submitter:
Date:
2010-03-17 08:18:06 UTC
Severity:
wishlist
#232914#5
Date:
2004-02-15 19:15:31 UTC
From:
To:

rsync transmits files even when it has no remote write permissions on the
remote host, so the bandwitdth is wasted, and may even confuse the user to
think he really xmited the files.

This should really be fixed.

Best regards, and thanks for your effort.

#232914#10
Date:
2005-04-25 12:42:07 UTC
From:
To:
Sorry for the delay...

The problem is that rsync can't tell beforehand that it won't be able to
write to any of the files, and transferring files happens pipelined so
that errors on previous files may appear after transmitting the next
file has already started. This is part of the optimalization of rsync to
make it as fast as possible.

However, the current 2.6.4 version should correctly report errors about
the transfer of the files, so that the user shouldn't get the idea that
the files were transmitted.


Paul Slootman