How to preserve ownership with rsync over SSH

Tony at Tony at
Mon Aug 1 13:58:02 GMT 2005

Only root  *CAN*  change the owner of a file to somebody else.

If we both have accounts on the same box.
I cannot stick *your* name as responsible for *my* garbage.

-----Original Message-----
From: at
[ at]On Behalf Of
Sent: Monday, August 01, 2005 8:57 AM
To: rsync at
Subject: How to preserve ownership with rsync over SSH

Hello everybody,

I am discovering rsync and I have a problem about preserving ownership
and permissions. I want to mirror a web tree with rsync over ssh. I set
up a module on my rsync server and on the rsync client, I use the
options -o and -p in order to preserve ownership et permissions. The
file are transffered via rsync but on the rsync server the files are
owned by the user used to connect with ssh. I tried to find some docs
but I found nothing and the man page is not clear for me : -- perms ==>
root only what does that mean exactly ?

I hope some one will be able to help me :)

Thank you for your answers

Best regards,
To unsubscribe or change options:
Before posting, read:

More information about the rsync mailing list