sierraしてbrewでnmap入れ直したらエラーでた
% brew install nmap
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
abcm2ps discount plowshare
==> Downloading https://homebrew.bintray.com/bottles/nmap-7.12.sierra.bottle.tar
######################################################################## 100.0%
==> Pouring nmap-7.12.sierra.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink share/man/de/man1/nmap.1
/usr/local/share/man/de/man1 is not writable.
You can try again using:
brew link nmap
==> Caveats
Python modules have been installed and Homebrew's site-packages is not
in your Python sys.path, so you will not be able to import the modules
this formula installed. If you plan to develop with these modules,
please run:
mkdir -p /Users/shinya/Library/Python/2.7/lib/python/site-packages
echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/shinya/Library/Python/2.7/lib/python/site-packages/homebrew.pth
==> Summary
🍺 /usr/local/Cellar/nmap/7.12: 727 files, 23M
/usr/local/share/man/de/man1のユーザを変えれば大丈夫らしい.
% ls -la /usr/local/share/man/ | grep de
drwxrwxr-x 3 root wheel 102 4 2 02:00 de/
% sudo chown -R $USER /usr/local/share/man/de
% brew link nmap
Linking /usr/local/Cellar/nmap/7.12... 26 symlinks created