[Bug 3198] rsyncing a file to a dest path where dirname(path) is a file quietly fails

samba-bugs at samba.org samba-bugs at samba.org
Thu Oct 20 16:45:37 GMT 2005


https://bugzilla.samba.org/show_bug.cgi?id=3198


wayned at samba.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From wayned at samba.org  2005-10-20 09:45 -------
This has already been fixed in the CVS version, so it will appear in the next
release.

In currently released versions of rsync, the error is hidden unless -vv is
specified, which is clearly wrong (as you discovered).  It is easy to patch this
fix into any version of rsync by looking for the stat() error in generator.c and
removing the "if (verbose > 1)" check.  The code will then look like this:

        rsyserr(FERROR, stat_errno, "recv_generator: failed to stat %s",
                full_fname(fname));

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list