brew instal したときの /usr/local/share/man/manN is not writable っていうエラーの対応方法メモ
brew install
したときに/usr/local/share/man/man7 is not writable
っていうエラーがでてきたから、その対処法を書いておく
cd /usr/local/share/man sudo chown -R $USER man7 brew link --force xxxxxx
graphvizをインストールしたときの対応
$ brew install graphviz ... Error: The `brew link` step did not complete successfully The formula built, but is not symlinked into /usr/local Could not symlink share/man/man7/graphviz.7 /usr/local/share/man/man7 is not writable. You can try again using: brew link graphviz
言われたとおり、brew link graphviz
をしてみる
エラーが出た
$ brew link graphviz Linking /usr/local/Cellar/graphviz/2.40.1... Error: Could not symlink share/man/man7/graphviz.7 /usr/local/share/man/man7 is not writable.
シンボリックリンクが作れませんでしたってエラーらしい
man7の所有権を変更して、シンボリックリンクの作成
cd /usr/local/share/man sudo chown -R $USER man7 brew link --force graphviz
成功したっぽい!
Linking /usr/local/Cellar/graphviz/2.40.1... 108 symlinks created