UID on destination system

Wayne Davison wayned at samba.org
Thu Oct 26 22:17:52 GMT 2006


On Thu, Oct 26, 2006 at 03:19:33PM -0400, Aldrich, Michael wrote:
> Can some tell me if there is a way to change the uid of files
> transferred?

The only way at present is to login as that user on the destination
system:

rsync -av /src/ applpatch at host:/dest/

sudo -u applpatch rsync -av appltest at host:/src/ /dest/

rsync -av --rsync-path='sudo -u appltest rsync' /src/ host:/dest/

Things like that.

It the future, it might be nice to have some way to add custom mappings.
The code already creates a name-to-number mapping for the receiver.  It
should be easy to pre-load the mapper based on a simple input file.

..wayne..


More information about the rsync mailing list