Improve description of --chmod example.
authorWayne Davison <wayned@samba.org>
Sat, 18 Dec 2010 16:13:52 +0000 (08:13 -0800)
committerWayne Davison <wayned@samba.org>
Sat, 18 Dec 2010 16:13:52 +0000 (08:13 -0800)
rsync.yo

index 031e9825c0aabd4fa888d9c93afc84f81789690c..a523f23b675e52f62e8e62fa3937dc7a6e4e271f 100644 (file)
--- 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)