Restrict rsync over ssh read only / only copy from remote host
The -ro
flag of rrsync
ensures that rsync is called with the --sender
option, which should, according to the rrsync
documentation, ensure that files can only be read - however, I could not find a authoritive source (aka rsync documentation) which confirms that. In my tests, it was sufficient to prevent writes to the server.