[cmake-developers] [CMake 0014101]: Run "cpack -G RPM" changed binary file permission from wrx-rx-rx to wrx-r-r

Mantis Bug Tracker mantis at public.kitware.com
Sat Apr 20 06:06:44 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14101 
====================================================================== 
Reported By:                jupiter
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14101
Category:                   CPack
Reproducibility:            sometimes
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-04-20 06:06 EDT
Last Modified:              2013-04-20 06:06 EDT
====================================================================== 
Summary:                    Run "cpack -G RPM" changed binary file permission
from wrx-rx-rx to wrx-r-r
Description: 
When I ran config, make, make install the binary file in build directory with
permission wrx-rx-rx:

$ make
$ make install
$ ls -l Robotic/Robotic-prefix/src/robotic/bin/CreateSystemObject 
-rwxr-xr-x. 1 root root 15307640 Apr 19 12:01
Robotic/Robotic-prefix/src/robotic/bin/CreateSystemObject 

Then after running "cpack -G RPM", the binary file changed to wrx-r-r:

$ cpack -G RPM
$ $ ls -l
_CPack_Packages/el6.x86_64/RPM/robotic/usr/local/bin/CreateSystemObject 
-rwxr--r--. 1 root root 15307640 Apr 19 16:22
_CPack_Packages/el6.x86_64/RPM/robotic/usr/local/bin/CreateSystemObject 

But it happens sometimes.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-04-20 06:06 jupiter        New Issue                                    
======================================================================




More information about the cmake-developers mailing list