On Tue, May 20, 2008 at 12:15 PM, James B. Byrne <byrnejb@harte-lyne.ca> wrote:
I have two hosts which have their respective keys loaded into each others
.ssh/authorized-keys2 file for root.  I want to move a directory tree from one
host to the other via rsync to maintain a shadow structure of the application
provided on the main host.

This is the relevant part of the command:

rsync -avz --rsh=ssh --delete-after /var/data/pas-redmine
root@inet01.mississauga.harte-lyne.ca:/var/data

The connection is made and a good deal of material is successfully
transferred. I am however getting a number of permission errors:

rsync: readlink "/var/data/pas-redmine/lib/tabular_form_builder.rb" failed:
Permission denied (13)
rsync: readlink "/var/data/pas-redmine/lib/redmine.rb" failed: Permission
denied (13)
rsync: readlink "/var/data/pas-redmine/lib/diff.rb" failed: Permission denied
(13)

Maybe /var/data/pas-redmine is nfs mounted (or a remote filesystem of some kind)... Can you "cat /var/data/pas-redmine/lib/tabular_form_builder.rb > /dev/null" ?

--
Marcelo

"¿No será acaso que ésta vida moderna está teniendo más de moderna que de vida?" (Mafalda)