On Thu, 2008-05-08 at 09:47 -0400, [EMAIL PROTECTED] 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: http://rsync.samba.org/ftp/rsync/patches/usermap.diff Matt
signature.asc
Description: This is a digitally signed message part
-- 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