From: Wayne Davison Date: Sun, 20 Feb 2005 01:04:37 +0000 (+0000) Subject: Document how refusing "delete" affects --remove-sent-files. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/e16368302083ea9270259c3051170e521c4f0957 Document how refusing "delete" affects --remove-sent-files. --- 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)