View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013046CMakeCMakepublic2012-03-17 00:132012-09-03 16:00
ReporterMichael Champigny 
Assigned ToEric NOULARD 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformLinuxOSLinux UbuntuOS Version11.10
Product VersionCMake 2.8.7 
Target VersionCMake 2.8.8Fixed in VersionCMake 2.8.8 
Summary0013046: Component install with STGZ archive generator not setting execute permission on package
DescriptionWhen 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.
Steps To ReproduceSET (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.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0028930)
Eric NOULARD (developer)
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 (developer)
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 (manager)
2012-09-03 16:00

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2012-03-17 00:13 Michael Champigny New Issue
2012-03-18 12:52 Eric NOULARD Assigned To => Eric NOULARD
2012-03-18 12:52 Eric NOULARD Status new => assigned
2012-03-18 12:54 Eric NOULARD Target Version => CMake 2.8.8
2012-03-18 12:56 Eric NOULARD Note Added: 0028930
2012-03-18 12:57 Eric NOULARD Note Added: 0028931
2012-03-18 12:57 Eric NOULARD Status assigned => resolved
2012-03-18 12:57 Eric NOULARD Fixed in Version => CMake 2.8.8
2012-03-18 12:57 Eric NOULARD Resolution open => fixed
2012-09-03 16:00 David Cole Note Added: 0030837
2012-09-03 16:00 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team