matt at mattmccutchen.net
Thu May 8 18:12:50 GMT 2008
On Thu, 2008-05-08 at 09:47 -0400, wzlx at unix.velocinet.com wrote:
> I am using rsync between a BSD/OS system and a Linux system.
> On the BSD system, the user/group is www.www. On the Linux
> system the user/group is apache.apache. I have not yet
> found a way to get rsync to change www.www on the source
> system to apache.apache on the target system.
> Does anybody know a way of doing this with rsync. I currently
> use a find command to change the ownerships after the files
> are transferred. This is not good because of the time delay
> and some files may not be accessible.
The maintained patch "usermap.diff" adds --usermap and --groupmap
options that should do what you want, although I have never tried them
myself. You can find the patch in an rsync-patches*.tar.gz file or at:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/rsync/attachments/20080508/0d99ded6/attachment.bin
More information about the rsync