View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0012901 | CMake | CPack | public | 2012-01-20 07:36 | 2016-06-10 14:31 | ||||
Reporter | Nikita Krupenko | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | feature | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | x86 | OS | Linux | OS Version | Mandriva 2010.2 | ||||
Product Version | CMake 2.8.4 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0012901: CPack should be able to set owner of files in the archive | ||||||||
Description | When I use CPack, it sets the current user as owner of files in the tar.gz archive. It is more advisable and secure, to set the root as owner of this files, so some option is required. | ||||||||
Additional Information | When extracting tar archive with the root as owner of files in the archive, the owner of extracted files will be current user. When the owner of files in the archive is non-root and this archive is extracted by root - if user with same name exists in the system, it will be the owner of extracted files. So when building installation package, it is advisable to set the root as owner of files in the archive. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | ||||||||||||||||
|
Relationships |
Notes | |
(0028374) Eric NOULARD (developer) 2012-01-20 08:26 |
Did you try fakeroot cpack -G TGZ ? May be we could do this automagically as we did for DEB, see 0010325 |
(0028375) Nikita Krupenko (reporter) 2012-01-20 08:34 |
No, I'm using it by including CPack module in the CMakeLists.txt file, so I don't call it directly. |
(0029118) kiri (reporter) 2012-04-10 14:57 |
Feature in Bug 0011766 , enables this for the case where all files have same user and group. |
(0029187) Eric NOULARD (developer) 2012-04-16 16:07 |
Hi kiri, There is no "feature" in 0011766 yet because may be fakeroot in enough? The current bug is not the same as 0011766 but it's really close, so the same question applies: in which case would it be useful to use something more than fakeroot? Knowing that for bare "tar archive" most tar command have some option to override ownership on extraction, like --owner=OWNER for GNU tar. |
(0030404) David Cole (manager) 2012-08-11 21:35 |
Sending old, never assigned issues to the backlog. (The age of the bug, plus the fact that it's never been assigned to anyone means that nobody is actively working on it...) If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it: http://www.cmake.org/mailman/listinfo/cmake [^] It's easy to re-activate a bug here if you can find a CMake developer who has the bandwidth to take it on, and ferry a fix through to our 'next' branch for dashboard testing. |
(0041969) Kitware Robot (administrator) 2016-06-10 14:28 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-01-20 07:36 | Nikita Krupenko | New Issue | |
2012-01-20 08:26 | Eric NOULARD | Note Added: 0028374 | |
2012-01-20 08:27 | Eric NOULARD | Relationship added | related to 0010325 |
2012-01-20 08:34 | Nikita Krupenko | Note Added: 0028375 | |
2012-04-10 14:57 | kiri | Note Added: 0029118 | |
2012-04-16 06:38 | Eric NOULARD | Relationship added | related to 0013118 |
2012-04-16 06:44 | Eric NOULARD | Relationship added | related to 0011766 |
2012-04-16 16:07 | Eric NOULARD | Note Added: 0029187 | |
2012-08-11 21:35 | David Cole | Status | new => backlog |
2012-08-11 21:35 | David Cole | Note Added: 0030404 | |
2016-06-10 14:28 | Kitware Robot | Note Added: 0041969 | |
2016-06-10 14:28 | Kitware Robot | Status | backlog => resolved |
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |