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:08 EDT