[cmake-developers] [CMake 0015628]: CMake needs to request root privileges in order to install command-line tools
Mantis Bug Tracker
mantis at public.kitware.com
Tue Jun 23 17:52:44 EDT 2015
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=15628
======================================================================
Reported By: Guy Harris
Assigned To:
======================================================================
Project: CMake
Issue ID: 15628
Category: CMake
Reproducibility: N/A
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2015-06-23 17:52 EDT
Last Modified: 2015-06-23 17:52 EDT
======================================================================
Summary: CMake needs to request root privileges in order to
install command-line tools
Description:
Even if you try to install them in /usr/local/bin (which should be the case in
*all* versions of OS X, and really needs to be the case in 10.11, as per the
other issue I filed), you need root privileges to do so, and CMake doesn't do
anything to install the symlinks as root.
Steps to Reproduce:
1. Start CMake.
2. Select "Install For Command Line Use" from the "Tools" menu.
3. Fix it to install in /usr/local/bin rather than /usr/bin.
4. Click "Install Command Line Links".
5. Notice the lack of any prompt for your password, as would be required if it
were requesting root privileges (and you hadn't done so in the last few
minutes).
6. Notice the set of "Failed create symlink installation may be incomplete:
/usr/local/bin/..." messages.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2015-06-23 17:52 Guy Harris New Issue
======================================================================
More information about the cmake-developers
mailing list