The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=15163 ====================================================================== Reported By: Ilya Rusyanov Assigned To: ====================================================================== Project: CMake Issue ID: 15163 Category: (No Category) Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 2014-09-18 11:44 EDT Last Modified: 2014-09-18 11:44 EDT ====================================================================== Summary: wrong permissions on base files with nonstandard umask setting Description: If umask is different from 022, CPack will generate wrong permission on base directories.
Steps to Reproduce: 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 Additional Information: 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. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2014-09-18 11:44 Ilya Rusyanov New Issue ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
