This is a patch against the manpage to clarify what the --perm option does and does not do.
Paul Slootman
diff -ru orig/rsync-2.5.6/rsync.1 rsync-2.5.6/rsync.1 --- orig/rsync-2.5.6/rsync.1 2003-01-28 04:11:57.000000000 +0100 +++ rsync-2.5.6/rsync.1 2003-03-07 12:18:19.000000000 +0100 @@ -562,8 +562,13 @@ default\&. .IP .IP "\fB-p, --perms\fP" -This option causes rsync to update the remote -permissions to be the same as the local permissions\&. +This option causes rsync to update the destination file's +permissions to be the same as the source's permissions\&. +Whether or not this option is specified, destination permissions for +newly created files are ALWAYS the same as the source permissions\&. +I.e. this option only affects whether the permissions on existing +destination files are updated or not\&. + .IP .IP "\fB-o, --owner\fP" This option causes rsync to set the owner of the
-- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html