MantisBT - CMake | |||||||||||||||
View Issue Details | |||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||
0015627 | CMake | CMake | public | 2015-06-23 17:48 | 2016-01-04 11:51 | ||||||||||
Reporter | Guy Harris | ||||||||||||||
Assigned To | Brad King | ||||||||||||||
Priority | normal | Severity | minor | Reproducibility | N/A | ||||||||||
Status | closed | Resolution | fixed | ||||||||||||
Platform | Mac | OS | OS X | OS Version | 10.11 | ||||||||||
Product Version | CMake 3.2.3 | ||||||||||||||
Target Version | CMake 3.3 | Fixed in Version | CMake 3.3 | ||||||||||||
Summary | 0015627: 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. | ||||||||||||||
Additional Information | |||||||||||||||
Tags | No tags attached. | ||||||||||||||
Relationships |
| ||||||||||||||
Attached Files | |||||||||||||||
Issue History | |||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||
2015-06-23 17:48 | Guy Harris | New Issue | |||||||||||||
2015-06-24 08:50 | Brad King | Relationship added | related to 0015628 | ||||||||||||
2015-06-24 08:50 | Brad King | Relationship added | related to 0015629 | ||||||||||||
2015-06-24 08:51 | Brad King | Note Added: 0038968 | |||||||||||||
2015-06-24 08:51 | Brad King | Assigned To | => Brad King | ||||||||||||
2015-06-24 08:51 | Brad King | Status | new => assigned | ||||||||||||
2015-06-24 08:51 | Brad King | Target Version | => CMake 3.3 | ||||||||||||
2015-06-24 09:12 | Brad King | Note Added: 0038970 | |||||||||||||
2015-06-24 09:12 | Brad King | Note Added: 0038971 | |||||||||||||
2015-06-24 09:12 | Brad King | Status | assigned => resolved | ||||||||||||
2015-06-24 09:12 | Brad King | Resolution | open => fixed | ||||||||||||
2015-06-24 09:12 | Brad King | Fixed in Version | => CMake 3.3 | ||||||||||||
2016-01-04 11:51 | Robert Maynard | Note Added: 0040078 | |||||||||||||
2016-01-04 11:51 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|