samba-bugs@samba.org
2008-Jan-14 21:23 UTC
DO NOT REPLY [Bug 5199] New: Exclusion of source arg ancestor short-circuits recursion
https://bugzilla.samba.org/show_bug.cgi?id=5199 Summary: Exclusion of source arg ancestor short-circuits recursion Product: rsync Version: 3.0.0 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: matt@mattmccutchen.net QAContact: rsync-qa@samba.org I originally reported this bug here: http://lists.samba.org/archive/rsync/2007-October/019006.html 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: 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.
samba-bugs@samba.org
2008-Jan-19 18:19 UTC
DO NOT REPLY [Bug 5199] Exclusion of source arg ancestor short-circuits recursion
https://bugzilla.samba.org/show_bug.cgi?id=5199 wayned@samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from wayned@samba.org 2008-01-19 12:19 CST ------- The latest dev version now has this fixed. We no longer allows the filtering of any implied directories except via --no-implied-dirs. This fixes the weirdness in earlier versions where an exclude would elide the sending of the directory's information without stopping the sending of its contents. -- 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.
samba-bugs@samba.org
2008-Jan-24 05:33 UTC
DO NOT REPLY [Bug 5199] Exclusion of source arg ancestor short-circuits recursion
https://bugzilla.samba.org/show_bug.cgi?id=5199 ------- Comment #2 from matt@mattmccutchen.net 2008-01-23 23:33 CST ------- IMHO, the old behavior of excluding just the implied dir from the file-list was useful, not weird...but anyway the important problem is fixed. -- 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.
Apparently Analagous Threads
- DO NOT REPLY [Bug 5266] New: Duplicate "not creating new directory" output w/ incremental recursion
- DO NOT REPLY [Bug 6719] New: I/O error protection is broken w/ protocol 30 and incremental recursion
- DO NOT REPLY [Bug 7450] New: When a single file is specified, the exclusion of it in the exclude-from file is ignored
- [Bug 11726] New: --copy-links cause rsync to fail with ancestor symlink (..)
- DO NOT REPLY [Bug 4621] Option to create ancestors of destination, like "mkdir -p"