[CentOS] Thanks - SOLVED: rsync doesn't update directory ownership

Fajar Priyanto

fajarpri at cbn.net.id
Wed Jan 24 02:53:41 UTC 2007


On Wednesday 24 January 2007 05:17, Mark Schoonover wrote:
> >> 	Your rsync command contains extraneous options. The -a actually is a
> >> shortcut for -rlptogoD, so all you really need is -avz as options. 

Hello Mark.
You are absolutely right! I put excessive options in the script:
rsync -avzgorp -e ssh /var/ftp/pub/ root at serverB:/var/ftp/pub/
sleep 5
rsync -avzgorp -e ssh root at serverB:/var/ftp/pub/ /var/ftp/pub/

After I change to rsync -avz all is ok. The ownership, permission are now 
correctly rsync-ed.
I really appreciate it. Many thanks :) Oh, my rsync is 2.6.3-1
-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
9:53am up 0:27, 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/20070124/6b562908/attachment-0001.sig>


More information about the CentOS mailing list