Mac使用brew安装软件缺少权限的问题


错误信息如下:

Error: The following directories are not writable by your user:
/usr/local/share/man/man8

You should change the ownership of these directories to your user.
sudo chown -R $(whoami) /usr/local/share/man/man8

And make sure that your user has write permission.
chmod u+w /usr/local/share/man/man8

解决方法:

sudo chown -R `whoami`:admin /usr/local/bin

sudo chown -R `whoami`:admin /usr/local/share

文章作者: Hansion
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 Hansion !
评论
  目录