View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015163CMake(No Category)public2014-09-18 11:442016-06-10 14:31
ReporterIlya Rusyanov 
Assigned ToKitware Robot 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionmoved 
Platformx86OSDebian GNU/LinuxOS Version7.0
Product VersionCMake 2.8.11.1 
Target VersionFixed in Version 
Summary0015163: wrong permissions on base files with nonstandard umask setting
DescriptionIf umask is different from 022, CPack will generate wrong permission on base directories.
Steps To Reproduceumask 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


Additional InformationPlease 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.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0042633)
Kitware Robot (administrator)
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.

 Issue History
Date Modified Username Field Change
2014-09-18 11:44 Ilya Rusyanov New Issue
2016-06-10 14:29 Kitware Robot Note Added: 0042633
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team