I'd like to use rsync to regularly archive a local directory containing upwards of 4G of data, using a low-privileges user account on a remote machine that has write access to only the backup directory. I'd like to preserve the permissions, users, and groups from the local machine so that I can just rsync the files back to the local machine as-is to restore the backup.
The trouble is that as soon as the files are created on the remote machine with the permissions, users, and groups from the local machine, the remote account no longer has the permissions required to modify the remote files if necessary. Is there a way to give a particular user write permissions to the backup directory on the remote machine without actually touching the permissions of the files inside that directory?
