ownership

boricua boricua at despiertapr.com
Tue Jul 31 01:49:50 GMT 2007


On Mon, 30 Jul 2007 21:33:30 -0400
"Matt McCutchen" <hashproduct+rsync at gmail.com> wrote:

> On 7/30/07, boricua <boricua at despiertapr.com> wrote:
> > not sure if i misunderstood the documentation but my understanding is
> > the -a option preserves ownership and permissions on transfer.
> >
> > i did a remote test and i see ownership changed
> > is that becuase user does not exist in the remote box
> >
> > 4.0K drwxr-xr-x  14 zoe         zoe   4.0K 2007-07-15 08:08 zoe
> >
> > but in the remote system they changed to
> >
> > 4.0K drwxr-x---  8 boricua users 4.0K 2007-05-02 11:07 zoe/
> >
> > in source box i was root and loged in as boricua to remote box.
> 
> Since the receiving (remote) rsync is running as a non-root user, it
> lacks the power to set file owners to anything other than that user.
> If you want it to do so, run it as root.
> 
> Matt
> 


in that case it just gave a user of 500?

4.0K drwxr-xr-x 14  500    502 4.0K 2007-07-15 08:08 zoe/


More information about the rsync mailing list