diff options
author | Brad King <brad.king@kitware.com> | 2010-06-03 14:46:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-06-03 14:50:30 (GMT) |
commit | 85cbdaade22c7ba6dac7a806c0b88ebc32caa4c1 (patch) | |
tree | 5ff368fb26f5e6244601dffe8661aa30abe3e5d4 /Source/cmInstallCommandArguments.h | |
parent | 3ac3dea6f0eb1ce68b321020ecdd336b3db8a0fe (diff) | |
download | CMake-85cbdaade22c7ba6dac7a806c0b88ebc32caa4c1.zip CMake-85cbdaade22c7ba6dac7a806c0b88ebc32caa4c1.tar.gz CMake-85cbdaade22c7ba6dac7a806c0b88ebc32caa4c1.tar.bz2 |
Really trust umask in file(WRITE) command (#10789, #10126)
Commit 8d0161c8 (Trust umask for file permissions, 2010-01-12) taught
these commands to set permissions to 0666 explicitly. The intention was
to let the open() call inside ofstream handle permsisions so that umask
would be honored. Now we set permissions only when we need to preserve
those on an existing file. New files will be created with umask-based
permissions.
Diffstat (limited to 'Source/cmInstallCommandArguments.h')
0 files changed, 0 insertions, 0 deletions