From 1cb0a3edc67795a652be8bf476cda64493837144 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 2 Aug 2004 05:01:36 +0000 Subject: [PATCH] Document the improved "refuse options" syntax. --- rsyncd.conf.yo | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/rsyncd.conf.yo b/rsyncd.conf.yo index e0d1e987..c276485c 100644 --- a/rsyncd.conf.yo +++ b/rsyncd.conf.yo @@ -380,8 +380,14 @@ a 10 minute timeout). dit(bf(refuse options)) The "refuse options" option allows you to specify a space-separated list of rsync command line options that will -be refused by your rsync server. The full names of the options must be -used (i.e., you must use "checksum" not "c" to disable checksumming). +be refused by your rsync server. +You may specify the full option name, its one-letter abbreviation, or a +wild-card string that matches multiple options. +For example, this would refuse --checksum (-c) and all the options that +start with "delete": + +quote(refuse options = c delete*) + When an option is refused, the server prints an error message and exits. To prevent all compression, you can use "dont compress = *" (see below) instead of "refuse options = compress" to avoid returning an error to a -- 2.34.1