Rsync doesn't have a read-only mode.  Rsyncd does but almost nobody uses that.  This person is specifically using rsync over ssh not rsyncd.

Yes, running as a user that can only read files is an excellent solution.  However, this is about full system backups which likely contain files that only root can read.  Sure, some --fake-super trickery could be done but rrsync -ro is easier.

On 2026-04-09 10:29, G.W. Haywood via rsync wrote:
Hi there,
41;366;0c
On Thu, 9 Apr 2026, RolandK wrote:

...
...
wouldn't it be an interesting idea to have some feature/switch in
rsync, which can globally (on a per host basis) turn rsync
into "read-only" mode, i.e. which makes rsync binary drop any
capability of using write/modify/delete syscalls ?
...
...

1. Does the (default) "read only" module parameter not suffice?

2. Isn't the usual way to achieve the same global effect simply to run
the utlilty under a UID that has no write permissions?


--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to