View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014483 | CMake | CMake | public | 2013-10-14 17:02 | 2016-06-10 14:31 | ||||
Reporter | Rob Stewart | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | Linux | OS | SLES | OS Version | 11SP1 | ||||
Product Version | CMake 2.8.11.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014483: RPATH_CHANGE can't update binaries installed with 0444 permissions | ||||||||
Description | My INSTALL() command specifies OWNER_READ GROUP_READ and WORLD_READ only. By the time Cmake arranges for the RPATH/RUNPATH to be updated, the file has 0444 permissions. Since it isn't writable, "Error opening file for update" results. (FYI, I'm using the UNIX Makefiles generator.) It seems that the RUNPATH should be updated before INSTALL() does its work or else the update code needs to make the file writable, update the RUNPATH, and then restore the original permissions. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0034122) Brad King (manager) 2013-10-15 09:14 |
cmSystemTools::ChangeRPath and cmSystemTools::RemoveRPath can be taught to adjust the permissions before opening the files for update. These code paths are only reachable through the internal/undocumented file(RPATH_*) commands, and they are only invoked by the generated installation code where we know it is okay to modify the files. |
(0042391) Kitware Robot (administrator) 2016-06-10 14:29 |
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 |
2013-10-14 17:02 | Rob Stewart | New Issue | |
2013-10-15 09:14 | Brad King | Note Added: 0034122 | |
2013-10-15 09:14 | Brad King | Status | new => backlog |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042391 | |
2016-06-10 14:29 | Kitware Robot | Status | backlog => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |