Rsync over ssh: "ERROR: module is read only" suddenly appeared
I had the same problem after updating my Synology NAS to DSM 4.1. I also do rsync over SSH. In my situation using rsync user root@ip also worked but left the files on the server with owner root which I did not want.
I found in the NAS admin userinterface, that for some reason in ControlPanel->Users->MyRSyncUser->Edit->"Priviliges setup" there was no read/write access to the homes. My RSYNC destination is under the homes.
Setting this to privilidge worked for me. I hope this helps.
I got rid of ERROR: module is read only by changing the remote path from /var/services/homes/rsync to /volume2/homes/rsync
DSM 5.1
I encountered the same problem after upgrading a synology ds1010+ to dsm 4.1-2661.
I don't have the time to understand what happened to the rsync provided by synology but it does not seem standard. So here is my workaround...
I didn't want to hack the privileges (multi-user setup), so I've recompiled rsync in static on my laptop, then I've transfered the binary on the sinology nas.
wget https://rsync.samba.org/ftp/rsync/rsync-3.0.9.tar.gz
tar xzvf rsync-3.0.9.tar.gz
cd rsync-3.0.9
export CFLAGS=--static
./configure
make
scp rsync <login>@<nas_hostname>:
You can tell rsync to use your new binary instead of the default one, with this parameter:
--rsync-path=<myhome>/rsync
Now I can continue using duplicity with rsync, by adding the following parameter to duplicity:
--rsync-options="--rsync-path=<myhome>/rsync"
I had the same kind of issue, but I wasn't using a dedicated user for rsync.
I had to fix privileges in Control Panel -> Shared folders.