rsync not preserving permissions

Andy Smith a.smith at
Wed Feb 11 19:05:34 GMT 2009


   I am running the following command, it is "pulling" the files  
across from a read-only configured rsync server via ssh. The command  
runs as root and I use the -p option to preserve permissions but files  
with non-root owners are being created/updated as root owned. Can  
anyone explain whats wrong and if I can do anything to fix this?

/usr/local/bin/rsync -r -p -e "ssh -l cacti -i  
/home/cacti/.ssh/id_dsa" sourceserver::cacti /usr/home/cacti

Rsync version is 3.0.4 on FreeBSD

thanks, Andy.

This message was sent using IMP, the Internet Messaging Program.

More information about the rsync mailing list