From: Wayne Davison Date: Sat, 18 Dec 2010 16:13:52 +0000 (-0800) Subject: Improve description of --chmod example. X-Git-Tag: v3.0.8pre1~41 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e6ba6e1107b03ffef6ec87e555a84fae614f9266;p=thirdparty%2Frsync.git Improve description of --chmod example. --- 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)