RE: [SLUG] rsync

From: Brett Simpson (Simpsonb@hillsboroughcounty.org)
Date: Fri Dec 07 2001 - 15:14:22 EST


You need to add a "p" to it in order to preserver the permissions. That was listed in the man page for rsync. In other words

rsync -apvz <server name>::<module name> <directory
to put files>

Brett Simpson
Internet Administrator for Hillsborough County
(813) 301-7144
simpsonb@hillsboroughcounty.org

>>> mrock@stewartsigns.com 12/07/01 02:47PM >>>

>From my client I enter " rsync -avz <server name>::<module name> <directory
to put files>"

The a option is not perserving the owner or group. It keeps what ever is
there on the client only. In this case I am 'pulling' the files onto the
client, should I be pushing them from the server??

Michael C. Rock

-----Original Message-----
From: slug@lists.nks.net [mailto:slug@lists.nks.net]On Behalf Of Seth
Hollen
Sent: Friday, December 07, 2001 2:25 PM
To: slug
Subject: Re: [SLUG] rsync

What commands are you using?
I believe if you use archive mode (-a) it preserves everything.
also
 -L, --copy-links treat soft links like regular files
     --copy-unsafe-links copy links outside the source tree
     --safe-links ignore links outside the destination tree
 -H, --hard-links preserve hard links
 -p, --perms preserve permissions
 -o, --owner preserve owner (root only)
 -g, --group preserve group
 -D, --devices preserve devices (root only)
 -t, --times preserve times
 from man rsync

seth

On Fri, 2001-12-07 at 14:03, Mikes work account wrote:
>
> I have tried every possible combination of options for rsync and still am
> not able to transfer owner and group to the new location.
>
> The files and directories move and they do that correctly as far as size
is
> concerned.
>
> >From out of nowhere I get a user on the system as the new owner of one of
> the transferred directories and all of the files in that directory. No
> where does this person have any permissions or ownerships, not the files
or
> rsync or the conf file,,, nothing.
>
>
>
> Could this be pre holiday stress manisfesting it self??
>
> Does anyone have any clues as to what I need to do to maintain the owner
and
> group for the transferred files?
>
> Michael C. Rock
>



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:03:24 EDT