Sounds like a possible permissions problem................Depending on how you have user accounts setup on the target machine, rsync (and scp) need to have identical user names for both source and destination.........Therefore, you should have an identical user account on the target machine already set up for the sender
I'm not sure what restrictions or policies are in place but, at the very least:
- Set up a special group ID on both machines and make the sender and the directories part of the same special group.
- Then make the source directory group writable (chmod g+w, or chmod 0775) on the directories.
- Now run the upload script as root one time to sync the target directory with the updated source. The sender should be able to sync the directory from then on.
This would probably be the best scenario since you will only need to set up the proper group ID once and simply assign whatever user you want to the special group, as needed......
That is, if it's a permissions problem....