DO NOT REPLY [Bug 5199] New: Exclusion of source arg ancestor short-circuits recursion

samba-bugs at samba-bugs at
Mon Jan 14 21:23:31 GMT 2008

           Summary: Exclusion of source arg ancestor short-circuits
           Product: rsync
           Version: 3.0.0
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: wayned at
        ReportedBy: matt at
         QAContact: rsync-qa at

I originally reported this bug here:

In incremental recursion mode, the exclusion of an ancestor dir of a source
argument incorrectly short-circuits the traversal of the source argument, even
with --no-implied-dirs.  I expect rsync to omit the ancestor dir from the
file-list (moot with --no-implied-dirs) but traverse the source argument
regardless, as rsync 2.6.9 does.

To reproduce:

$ mkdir src src/D
$ rsync -ni -rR --exclude='/src' src/D/ dest/
(No output)
$ rsync -ni -rR --no-implied-dirs --exclude='/src' src/D/ dest/
(Still no output)
$ rsync-2.6.9 -ni -rR --exclude='/src' src/D/ dest/
cd+++++++ src/D/

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