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@serverB:/var/ftp/pub/ sleep 5 rsync -avzgorp -e ssh root@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
Attachment:
pgpwoeNPYk8ub.pgp
Description: PGP signature
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos