Nmap/Mac: Difference between revisions
From charlesreid1
(Created page with "=Installing= To install nmap on a Mac, use Homebrew. When I used Homebrew to install nmap, the installation step was successful, but Homebrew failed to link due to a permiss...") |
No edit summary |
||
| Line 23: | Line 23: | ||
Linking /usr/local/Cellar/nmap/7.40... 26 symlinks created | Linking /usr/local/Cellar/nmap/7.40... 26 symlinks created | ||
</pre> | </pre> | ||
=Flags= | |||
{{NmapFlag}} | |||
[[Category:Nmap]] | |||
[[Category:Homebrew]] | |||
[[Category:Mac OS X]] | |||
Revision as of 00:46, 14 March 2017
Installing
To install nmap on a Mac, use Homebrew.
When I used Homebrew to install nmap, the installation step was successful, but Homebrew failed to link due to a permissions problem:
$ brew install nmap Warning: nmap-7.40 already installed, it's just not linked. $ brew link nmap Linking /usr/local/Cellar/nmap/7.40... Error: Could not symlink share/man/de/man1/nmap.1 /usr/local/share/man/de/man1 is not writable.
O NOES!!! Because I don't give two hoots about German man pages, I just changed the permissions of this folder:
$ sudo chown -R $USER /usr/local/share/man/de $ brew link nmap Linking /usr/local/Cellar/nmap/7.40... 26 symlinks created