Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9611030
)
Document how refusing "delete" affects --remove-sent-files.
author
Wayne Davison
<wayned@samba.org>
Sun, 20 Feb 2005 01:04:37 +0000
(
01:04
+0000)
committer
Wayne Davison
<wayned@samba.org>
Sun, 20 Feb 2005 01:04:37 +0000
(
01:04
+0000)
rsyncd.conf.yo
patch
|
blob
|
blame
|
history
diff --git
a/rsyncd.conf.yo
b/rsyncd.conf.yo
index
11740c9
..
79f2190
100644
(file)
--- 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.
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)
When an option is refused, the server prints an error message and exits.
To prevent all compression, you can use "dont compress = *" (see below)