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 ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
