[CMake] cpack changed binary file permission in 2.8.10

hce jupiter.hce at gmail.com
Fri Apr 19 06:50:03 EDT 2013


Hi,

I have another wired situation when I run "cpack -G RPM", the cpack changed
a binary file permission:

Original file in the build directory:

$ 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

After running "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

The cpack changed binary file "CreateSystemObject" permission from
-rwxr-xr-x to -rwxr--r--, not sure why, but is there any way to force cpack
don't change the permission?

Thank you.

Kind regards,

j





--
View this message in context: http://cmake.3232098.n2.nabble.com/cpack-changed-binary-file-permission-in-2-8-10-tp7584105.html
Sent from the CMake mailing list archive at Nabble.com.


More information about the CMake mailing list