From 8dc74608a3dd156c7e86fa4e0c96b6700572d987 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 16 May 2003 04:23:34 +0000 Subject: [PATCH] Updated the long description for the --perms option. --- rsync.yo | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/rsync.yo b/rsync.yo index f65e53cf..5faa561c 100644 --- a/rsync.yo +++ b/rsync.yo @@ -507,8 +507,13 @@ the source and target are on the local machine. dit(bf(--no-whole-file)) Turn off --whole-file, for use when it is the default. -dit(bf(-p, --perms)) This option causes rsync to update the remote -permissions to be the same as the local permissions. +dit(bf(-p, --perms)) This option causes rsync to set the destination +permissions to be the same as the source permissions. + +Without this option, each new file gets its permissions set based on the +source file's permissions and the umask at the receiving end, while all +other files (including updated files) retain their existing permissions +(which is the same behavior as other file-copy utilities, such as cp). dit(bf(-o, --owner)) This option causes rsync to set the owner of the destination file to be the same as the source file. On most systems, -- 2.34.1