[Bug 8336] --implied-dirs should include the file-list root by default

samba-bugs at samba.org samba-bugs at samba.org
Sun Jul 31 23:34:54 MDT 2011


https://bugzilla.samba.org/show_bug.cgi?id=8336

Wayne Davison <wayned at samba.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #2 from Wayne Davison <wayned at samba.org> 2011-08-01 05:34:53 UTC ---
If you move the dot prior to sourcedir in the source arg
(/a/./sourcedir/dirtree/to/transfer) and omit sourcedir in the dest
(foo::module/a/), then sourcedir will get its attributes set by the transfer.

Matt mentions another potential arg change that would work, though you should
remove the superfluous "g" in the ".g" arg (that was just a typo).

As for why the root dir doesn't get set by the transfer, it's because that
directory is not being sent, just specific files within it.  Rsync always
treats piecemeal transfers as not including the . dir unless explicitly
requested.  e.g., sending (no -R) sub1/foo sub2/bar to dest/ does not affect
"dest", it just puts 2 files into that dir.  In the same way, sending the same
args but with -R puts two dirs into the dest, but doesn't affect "dest".

-- 
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