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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]


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.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to