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

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

           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
        ReportedBy: nhasan at
         QAContact: rsync-qa at

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,
-                       rprintf(FERROR_XFER,
+                       rprintf(FINFO,
                                "skipping daemon-excluded %s \"%s\"\n",
                                is_dir ? "directory" : "file", fname);
                        if (is_dir)

Configure bugmail:
------- 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