The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=15627 ====================================================================== Reported By: Guy Harris Assigned To: ====================================================================== Project: CMake Issue ID: 15627 Category: CMake Reproducibility: N/A Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2015-06-23 17:48 EDT Last Modified: 2015-06-23 17:48 EDT ====================================================================== Summary: CMake shouldn't default to installing command-line tools in /usr/bin Description: /usr/bin is for Apple-supplied command-line tools, not third-party tools, just as /System/Library is for Applie-supplied software and /Library is for third-party software.
Until El Capitan, you could get away with installing command-line tools in /usr/bin, although you needed to run with root privileges to do so, and if you upgrade to the next major release, /usr/bin gets reconstructed and you lose all the third-party tools installed there. In El Capitan, even root processes can't modify /usr/bin unless they're granted special entitlements (which Apple's unlikely to grant to third-party tools) or you're running with rootless mode turned off (which it isn't, by default, and you have to go through some effort to turn it off). You should default to installing in /usr/local/bin instead. Steps to Reproduce: 1. Start CMake. 2. Select "Install For Command Line Use" from the Tools menu. 3. Note the default target directory of /usr/bin. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-06-23 17:48 Guy Harris New Issue ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
