[Bug 8138] Per-dir merge files not reloaded properly when switching source args with --i-r

samba-bugs at samba.org samba-bugs at samba.org
Sat Jun 18 12:24:12 MDT 2011


Wayne Davison <wayned at samba.org> changed:

           What    |Removed                     |Added
             Status|NEW                         |ASSIGNED

--- Comment #1 from Wayne Davison <wayned at samba.org> 2011-06-18 18:24:12 UTC ---
Yes, the merging of directory hierarchies results in only one parent
directory's exclusion context being active in the merged subdirectory context
(e.g. if you reverse src1/ and src2/ that your example would work fine because
src1's parent-dir filters would be in effect for all the subdirectories). 
There is a similar (but not identical) effect on the receiving side since it
can get only one version of each combined directory's filter files.

A fix on the sending side would require that the curr_dir path be noticed to be
different, and a full pop of all filters be done, followed by a full push of
all filters for the new curr_dir path plus the in-transfer path.  A fix for the
receiving side is probably not possible.

I'm thinking we should just document that combining per-dir filter files with
merged directories results in undefined filter results unless all merged
directories have identical filter files at every level in the combined

Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the rsync mailing list