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

Wayne Davison <[email protected]> changed:

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

--- Comment #2 from Wayne Davison <[email protected]> 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.
-- 
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