[CentOS] rsync doesn't update directory ownership

Fajar Priyanto

fajarpri at cbn.net.id
Tue Jan 23 13:18:13 UTC 2007


Hi all,
Has anyone encountered this:
On ServerA, I make this directory:
/var/ftp/pub/userA with ownership root.root

It gets rsynced to serverB with this command:
rsync -avzgorp --delete -e ssh /var/ftp/pub/ root at serverB:/var/ftp/pub/

However, when I change the ownership of /var/ftp/pub/userA to userA.userA, 
this change is not rsync-ed to serverB.

Is there any option to achieve this?
Thank you very much.
-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
8:17pm up 12:35, 2.6.16.13-4-default GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20070123/34d6852a/attachment.sig>


More information about the CentOS mailing list