Re: name substitution

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


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-08-2008
Matt McCutchen
 
Posts: n/a
Default Re: name substitution


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

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:56 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0