Trying to copy files with rsync, it complains:
rsync: send_files failed to open "VirtualBox/Machines/Lubuntu/Lubuntu.vdi" \ (in media): Permission denied (13)
That file is not copied. Indeed the file permissions of that file are very restrictive on the server side:
-rw------- 1 1000 1000 3133181952 Nov 1 2011 Lubuntu.vdi
I call rsync with
sudo rsync -av --fake-super root@sheldon::media /mnt/media
The rsync daemon runs as root on the server. root can copy that file (of course). rsyncd has "fake super = yes" set in /etc/rsyncd.conf.
What can I do so that the file is copied without changing the permissions of the file on the server?