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

samba-bugs at samba.org samba-bugs at samba.org
Tue Aug 9 09:55:32 MDT 2011


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

Wayne Davison <wayned at samba.org> changed:

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

--- Comment #14 from Wayne Davison <wayned at samba.org> 2011-08-09 15:55:31 UTC ---
(In reply to comment #13)
> I want to sync hundreds of workspaces used by several users
> and I need all the same permissions on both sides.

Yup.  And we've given you 2 different ways to do this.  If you just need the
one-level of created dir set right, add the extra dot dir to the path.  If you
need all the path elements in the destination path set, make them all implied
directories in the transfer by including them in the transfer path (and tweak
your link-dest setup).

I noticed that in one comment you said that the /././ bit didn't work for you,
but I tested it back to 2.6.9, and it works in all rsync versions that I tried
(and with both "use chroot" and w/o in the daemon config).  Make sure that the
daemon has that module configured to run as root if you want it to be changing
the directory ownership.

If you add 2 -i options to your command, rsync will output all the items in the
transfer, and the extra dot will show up as an initial "./" dir in the list of
transferred files.  That dot dir will affect the destination dir.

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