Files
rsync/support
Andrew Tridgell 314abcc437 rrsync: confine the server's path resolution to the restricted dir
Filter rules arrive over the protocol, long after the wrapper has exec'd rsync,
so no argv-level check can see them.  A client can name a merge file outside
the restricted dir in a dir-merge rule and have the server read it in as filter
rules; on a pull that needs neither --delete nor any verbosity.  Pass
--confine-root so the server bounds the open itself, which is the only end that
can.

Both directions: a dir-merge is read by whichever side its rule applies to, so
unlike --drop-D this is not receiver-only.  Skipped for a "/" restricted dir,
where there is nothing to confine.
2026-08-03 05:35:03 +10:00
..
2022-11-20 09:38:12 -08:00
2022-11-16 00:10:09 -08:00
2021-12-27 17:57:53 -08:00
2022-01-09 14:03:31 -08:00
2005-01-11 18:37:37 +00:00
2023-05-22 08:29:15 -07:00
2020-08-05 21:32:44 -07:00