diff options
author | Brad King <brad.king@kitware.com> | 2006-04-18 14:30:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-04-18 14:30:56 (GMT) |
commit | 84f672155c7c63ca613fd03cfab0811d9dfd5449 (patch) | |
tree | 1922d6643d1d0608968b999c804b1a54ab672f95 /Source/cmInstallCommand.h | |
parent | 016e689f57f2161df4601a5077c4ac56d6a237c5 (diff) | |
download | CMake-84f672155c7c63ca613fd03cfab0811d9dfd5449.zip CMake-84f672155c7c63ca613fd03cfab0811d9dfd5449.tar.gz CMake-84f672155c7c63ca613fd03cfab0811d9dfd5449.tar.bz2 |
BUG: Using the source-file permissions by default for installation is somewhat unpredictable because users can extract source code with almost any permissions (umask). Changing the default to use 644 for files and 755 for programs. No release has documented the old behavior so we do not need compatibility.
Diffstat (limited to 'Source/cmInstallCommand.h')
-rw-r--r-- | Source/cmInstallCommand.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmInstallCommand.h b/Source/cmInstallCommand.h index 4907b91..3c10e5a 100644 --- a/Source/cmInstallCommand.h +++ b/Source/cmInstallCommand.h @@ -143,7 +143,8 @@ public: "The FILES form specifies rules for installing files for a " "project. File names given as relative paths are interpreted with " "respect to the current source directory. Files installed by this " - "form are given the same permissions as the original file by default." + "form are by default given permissions OWNER_WRITE, OWNER_READ, " + "GROUP_READ, and WORLD_READ if no PERMISSIONS argument is given." "\n" "The PROGRAMS signature:\n" " INSTALL(PROGRAMS files... DESTINATION <dir>\n" @@ -151,7 +152,8 @@ public: " [COMPONENT <component>]\n" " [RENAME <name>])\n" "The PROGRAMS form is identical to the FILES form except that the " - "default permissions for the installed file mark it as executable. " + "default permissions for the installed file also include " + "OWNER_EXECUTE, GROUP_EXECUTE, and WORLD_EXECUTE. " "This form is intended to install programs that are not targets, " "such as shell scripts. Use the TARGETS form to install targets " "built within the project." |