psala at us.ibm.com
Tue Oct 11 14:56:03 GMT 2005
When I rsync a file named test as shown here:
# rsync -e 'ssh -l root' /web/test w3.xyzco.com:/web/test
the files is sent OK, but the perms and ownership of the existing target
file are not maintained. The target file takes on the perms and owner of
the source file.
I though that if I do not specify the -o and -p options, then the perm and
owner will be the same as the existing target file.
More information about the rsync