MantisBT - CMake
View Issue Details
0015163CMake(No Category)public2014-09-18 11:442016-06-10 14:31
Ilya Rusyanov 
Kitware Robot 
normalmajoralways
closedmoved 
x86Debian GNU/Linux7.0
CMake 2.8.11.1 
 
0015163: wrong permissions on base files with nonstandard umask setting
If umask is different from 022, CPack will generate wrong permission on base directories.
umask 027

cmake ../src
make
cpack -G DEB
dpkg -c test.deb

drwxr-x--- root/root 0 2014-09-18 19:40 ./usr/
drwxr-x--- root/root 0 2014-09-18 19:40 ./usr/share/
drwxr-x--- root/root 0 2014-09-18 19:40 ./usr/share/testproj/
drwxr-x--- root/root 0 2014-09-18 19:40 ./usr/share/testproj/data/
drwxr-xr-x root/root 0 2014-09-18 19:40 ./usr/share/testproj/data/180-188-189/
-rw-r--r-- root/root 16 2014-09-18 15:22 ./usr/share/testproj/data/180-188-189/general.ini


Please notice directory permissions on /usr, /usr/share, /usr/share/testproj, /usr/share/testproj/data. Everything is fine with supplied inner directories and files.

INSTALL command is not given any PERMISSIONS options, and, as documentation says they should be default: 755 for directories and 644 for regular files.
No tags attached.
Issue History
2014-09-18 11:44Ilya RusyanovNew Issue
2016-06-10 14:29Kitware RobotNote Added: 0042633
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042633)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.