DO NOT REPLY [Bug 5505] New: rsync 3.x reporting excluded files as error

samba-bugs at samba.org samba-bugs at samba.org
Sat May 31 04:46:38 GMT 2008


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

           Summary: rsync 3.x reporting excluded files as error
           Product: rsync
           Version: 3.0.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: nhasan at nadmm.com
         QAContact: rsync-qa at samba.org


Since rsync 3.x, any daemon-excluded file is reported as error 23 (incomplete
transfer). This is incorrect and unlike the behaviour in previous versions. If
files are explicitly excluded by server config, then this is normal behaviour
for rsync to skip them.

The attached patch fixes this:

--- generator.c.old     2008-05-31 00:35:33.000000000 -0400
+++ generator.c 2008-05-31 00:35:55.000000000 -0400
@@ -1292,7 +1292,7 @@
                        if (F_IS_HLINKED(file))
                                handle_skipped_hlink(file, itemizing, code,
f_out);
 #endif
-                       rprintf(FERROR_XFER,
+                       rprintf(FINFO,
                                "skipping daemon-excluded %s \"%s\"\n",
                                is_dir ? "directory" : "file", fname);
                        if (is_dir)


-- 
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