Re: mark remote as read only

Sebastian Schleussner <[email protected]> Sat, 2 Aug 2025 17:01:07 +0200
Newsgroups gmane.network.unison.general
Message-ID <CA+dkNVMSUcChUN+q5VJdV8-ncTM7CS_tzoN=7p2-0+hfekpaRw@mail.gmail.com>
I'm not sure if that matches the question's use case. Root A being
"read-only" does not necessarily imply that any changes appearing on that
side are to be marked by default for propagation to root B. If that is what
you want, James, excellent, use "force ROOT"*.

But if the intent is "only propagate stuff changed in root A, if other
criteria mark it for propagation; if anything in root B is changed, leave
it alone in 'read-only' root A", then you should instead look at the
options "noupdate ROOT" and possibly "nodelete ROOT"*.

https://urldefense.com/v3/__https://man.uex.se/1/unison*:*:text=all*20its*20contents.-,noupdate,-xxx__;I34lJQ!!IBzWLUs!WqM1TxwuvOhSBw7oixbAccgVglKvWO1ZfxBGtrQe_S4sGB0e-P-RsBtM8WWFoBTA37LpOQ_aEYDoCFrIa_y6iZQ5VutHP_98bw$ 

*) where ROOT indeed is the content of one of your two current "root"
instructions in the profile – or on the command line: one of the two
non-option arguments.


/Sebastian


On 2025-08-02 13:58, Eberhard W Lisse wrote:

Try something like

-force *root*

I use the actual right hand side from the "root" statement, have never
tried "-force root" (ie using the word "root" literally.

Again, RFTM helps.

el


On Aug 2, 2025 at 10:44 +0200, Eberhard W Lisse <[email protected]>, wrote:


Easy peasy, it's in the manual. Can't access the "local" machine now where
I do it so can't look up the profile now.

el


On Aug 2, 2025 at 06:03 +0200, James Shaughnessy
<[email protected]>
<[email protected]>, wrote:


Hi,

Is there any way to mark the remote SSH server as read only in unison (so
that only the local machine's files will be modified)?

Thanks,
- James

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].