MantisBT - CMake
View Issue Details
0013046CMakeCMakepublic2012-03-17 00:132012-09-03 16:00
Michael Champigny 
Eric NOULARD 
normalminoralways
closedfixed 
LinuxLinux Ubuntu11.10
CMake 2.8.7 
CMake 2.8.8CMake 2.8.8 
0013046: Component install with STGZ archive generator not setting execute permission on package
When setting the CPack generator to STGZ and enabling component installs, the archive generator is only setting execute permission on the first listed *.sh package. The remaining packages do not have execute permission set.
SET (CPACK_GENERATOR STGZ)
SET (CPACK_ARCHIVE_COMPONENT_INSTALL ON)
SET (CPACK_COMPONENTS_GROUPING IGNORE)
INCLUDE (CPack)

The first *.sh for the first component listed in CPACK_COMPONENTS_ALL will have execute permission. Any remaining *.sh generated will not have execute permissions.
No tags attached.
Issue History
2012-03-17 00:13Michael ChampignyNew Issue
2012-03-18 12:52Eric NOULARDAssigned To => Eric NOULARD
2012-03-18 12:52Eric NOULARDStatusnew => assigned
2012-03-18 12:54Eric NOULARDTarget Version => CMake 2.8.8
2012-03-18 12:56Eric NOULARDNote Added: 0028930
2012-03-18 12:57Eric NOULARDNote Added: 0028931
2012-03-18 12:57Eric NOULARDStatusassigned => resolved
2012-03-18 12:57Eric NOULARDFixed in Version => CMake 2.8.8
2012-03-18 12:57Eric NOULARDResolutionopen => fixed
2012-09-03 16:00David ColeNote Added: 0030837
2012-09-03 16:00David ColeStatusresolved => closed

Notes
(0028930)
Eric NOULARD   
2012-03-18 12:56   
Nice catch,

We forgot to iterate over all packages generated by our superclass
(TGZ generator).
This is fixed now.
(0028931)
Eric NOULARD   
2012-03-18 12:57   
Fetching upstream next
Merge topic 'CPack-fixSTGZpermission-bug13046' into next

4576f40 CPack STGZ put execute permission on all packages files (component case)
(0030837)
David Cole   
2012-09-03 16:00   
Closing resolved issues that have not been updated in more than 4 months.