rsync: recv_generator and stat errors

Matt McCutchen hashproduct+rsync at
Tue Jan 30 22:47:06 GMT 2007

On 1/27/07, Matt McCutchen <hashproduct+rsync at> wrote:
> Wayne: I noticed another possible bug.  Unless I have overlooked
> something, recv_generator skips all files between a failed directory
> and the next entry whose depth is at most that of the failed
> directory.  This is wrong in the case of --relative --no-implied-dirs
> because the file list might contain "bar" followed by "baz/foo", and
> rsync would skip "baz/foo" after failing to create "bar" even though
> "baz/foo" is not inside "bar".

I confirmed that this bug exists.  It looks like there's a similar bug
involving excluded_below that could make a daemon incorrectly deny
writing to files that aren't daemon-excluded.  (Better this, though,
than allowing writing to files that *are* daemon-excluded!)


More information about the rsync mailing list