From e16368302083ea9270259c3051170e521c4f0957 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 20 Feb 2005 01:04:37 +0000 Subject: [PATCH] Document how refusing "delete" affects --remove-sent-files. --- rsyncd.conf.yo | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rsyncd.conf.yo b/rsyncd.conf.yo index 11740c95..79f2190d 100644 --- a/rsyncd.conf.yo +++ b/rsyncd.conf.yo @@ -459,6 +459,10 @@ quote(tt( refuse options = c delete)) The reason the above refuses all delete options is that the options imply bf(--delete), and implied options are refused just like explicit options. +As an additional safety feature, the refusal of "delete" also refuses +bf(remove-sent-files) when the daemon is the sender; if you want the latter +without the former, instead refuse "delete-*" -- that refuses all the +delete modes without affecting bf(--remove-sent-files). When an option is refused, the server prints an error message and exits. To prevent all compression, you can use "dont compress = *" (see below) -- 2.34.1