View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014137CMakeCPackpublic2013-05-10 04:562013-10-07 10:09
ReporterHong Xu 
Assigned ToEric NOULARD 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformUbuntuOSLinuxOS Version12.4
Product VersionCMake 2.8.7 
Target VersionFixed in VersionCMake 2.8.9 
Summary0014137: Incorrect ownership of debian control files made from cpack
DescriptionThe ownership of debian control files is incorrect. It should be root, but instead it is the name of the current login. You may get a warning when installing some deb files which has a different ownership of control files other than root.
Steps To Reproduce1. Grab any source tree using cpack features (such as this one which I used to reproduce: https://github.com/editorconfig/editorconfig-core/archive/master.zip [^])

2.

mkdir build
cd build
cmake ..
make package

3.

mkdir tmp && cd tmp
mv ../*.deb .
ar x *.deb
tar ztvf control.tar.gz

Then you will find the ownership of the files is incorrect.
Tagslinux
Attached Files

 Relationships

  Notes
(0033019)
Nils Gladitz (developer)
2013-05-10 05:11

I think this got fixed in 2.8.9.
If you have fakeroot installed it will be used to build control.tar.gz.
(0033020)
Brad King (manager)
2013-05-10 08:23

Re 0014137:0033019: Yes, I think this was fixed here:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=abc9b323 [^]
(0034044)
Robert Maynard (manager)
2013-10-07 10:09

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

 Issue History
Date Modified Username Field Change
2013-05-10 04:56 Hong Xu New Issue
2013-05-10 05:01 Hong Xu Tag Attached: linux
2013-05-10 05:11 Nils Gladitz Note Added: 0033019
2013-05-10 08:23 Brad King Note Added: 0033020
2013-05-10 08:23 Brad King Assigned To => Eric NOULARD
2013-05-10 08:23 Brad King Status new => resolved
2013-05-10 08:23 Brad King Resolution open => fixed
2013-05-10 08:23 Brad King Fixed in Version => CMake 2.8.9
2013-10-07 10:09 Robert Maynard Note Added: 0034044
2013-10-07 10:09 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team