From 9f8225566ec2b7ed74336eb9d1a501536e73edb8 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Tue, 31 Jan 2006 03:05:24 +0000 Subject: [PATCH] Moved where --chmod was listed. --- rsync.yo | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/rsync.yo b/rsync.yo index d61dfb81..7a8a33ce 100644 --- a/rsync.yo +++ b/rsync.yo @@ -317,6 +317,7 @@ to the detailed description below for a complete description. verb( -K, --keep-dirlinks treat symlinked dir on receiver as dir -p, --perms preserve permissions -E, --executability preserve executability + --chmod=CHMOD change destination permissions -o, --owner preserve owner (super-user only) -g, --group preserve group --devices preserve device files (super-user only) @@ -325,7 +326,6 @@ to the detailed description below for a complete description. verb( -t, --times preserve times -O, --omit-dir-times omit directories when preserving times --super receiver attempts super-user activities - --chmod=CHMOD change destination permissions -S, --sparse handle sparse files efficiently -n, --dry-run show what would have been transferred -W, --whole-file copy files whole (without rsync algorithm) @@ -713,6 +713,25 @@ quote(itemize( If bf(--perms) is enabled, this option is ignored. +dit(bf(--chmod)) This option tells rsync to apply one or more +comma-separated "chmod" strings to the permission of the files in the +transfer. The resulting value is treated as though it was the permissions +that the sending side supplied for the file, which means that this option +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: + +quote(--chmod=Dg+s,ug+w,Fo-w,+X) + +It is also legal to specify multiple bf(--chmod) options, as each +additional option is just appended to the list of changes to make. + +See the bf(--perms) and bf(--executability) options for how the resulting +permission value can be applied to the files in the transfer. + dit(bf(-o, --owner)) This option causes rsync to set the owner of the destination file to be the same as the source file. By default, the preservation is done by name, but may fall back to using the ID number @@ -762,25 +781,6 @@ also for ensuring that you will get errors if the receiving side isn't being running as the super-user. To turn off super-user activities, the super-user can use bf(--no-super). -dit(bf(--chmod)) This option tells rsync to apply one or more -comma-separated "chmod" strings to the permission of the files in the -transfer. The resulting value is treated as though it was the permissions -that the sending side supplied for the file, which means that this option -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: - -quote(--chmod=Dg+s,ug+w,Fo-w,+X) - -It is also legal to specify multiple bf(--chmod) options, as each -additional option is just appended to the list of changes to make. - -See the bf(--perms) and bf(--executability) options for how the resulting -permission value can be applied to the files in the transfer. - dit(bf(-n, --dry-run)) This tells rsync to not do any file transfers, instead it will just report the actions it would have taken. -- 2.34.1