This is a discussion on Re: name substitution within the Rsync forums, part of the Networking and Network Related category; --===============0867795298== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-hUpgtUjFuDwU9NHVXzoU" --=-hUpgtUjFuDwU9NHVXzoU Content-...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============0867795298== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-hUpgtUjFuDwU9NHVXzoU" --=-hUpgtUjFuDwU9NHVXzoU Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2008-05-08 at 09:47 -0400, wzlx@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. >=20 > 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 --=-hUpgtUjFuDwU9NHVXzoU Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBII0KfC+xSYN/RlfsRAkIbAJ9Myng8hBmKsqvHwiEwwTiIgeoO0QCeNr3Y B7fGWzfjHfCTK5ZGZhImunk= =E1oa -----END PGP SIGNATURE----- --=-hUpgtUjFuDwU9NHVXzoU-- --===============0867795298== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- 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 --===============0867795298==-- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|