[cmake-developers] [CMake 0014483]: RPATH_CHANGE can't update binaries installed with 0444 permissions
Mantis Bug Tracker
mantis at public.kitware.com
Mon Oct 14 17:02:59 EDT 2013
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=14483
======================================================================
Reported By: Rob Stewart
Assigned To:
======================================================================
Project: CMake
Issue ID: 14483
Category: CMake
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2013-10-14 17:02 EDT
Last Modified: 2013-10-14 17:02 EDT
======================================================================
Summary: 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.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-10-14 17:02 Rob Stewart New Issue
======================================================================
More information about the cmake-developers
mailing list