From 79db59d1a72c584f4ac4629539b4f67c180d79dd Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 25 Apr 2005 19:30:29 +0000 Subject: [PATCH] Try to make rsync's behavior w/o "--perms" a little clearer. --- rsync.yo | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rsync.yo b/rsync.yo index 08b7c93c..abcac123 100644 --- a/rsync.yo +++ b/rsync.yo @@ -631,9 +631,10 @@ default. 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 +Without this option, all existing files (including updated files) retain +their existing permissions, while each new file gets its permissions set +based on the source file's permissions, but masked by the receiving end's +umask setting (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 -- 2.34.1