From e6ba6e1107b03ffef6ec87e555a84fae614f9266 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sat, 18 Dec 2010 08:13:52 -0800 Subject: [PATCH] Improve description of --chmod example. --- rsync.yo | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rsync.yo b/rsync.yo index 031e9825..a523f23b 100644 --- a/rsync.yo +++ b/rsync.yo @@ -991,7 +991,10 @@ can seem to have no effect on existing files if bf(--perms) is not enabled. In addition to the normal parsing rules specified in the bf(chmod)(1) manpage, you can specify an item that should only apply to a directory by prefixing it with a 'D', or specify an item that should only apply to a -file by prefixing it with a 'F'. For example: +file by prefixing it with a 'F'. For example, the following will ensure +that all directories get marked set-gid, that no files are other-writable, +that both are user-writable and group-writable, and that both have +consistent executability across all bits: quote(--chmod=Dg+s,ug+w,Fo-w,+X)