您的位置:首页 > 其它

mac 下的brew的权限问题

2016-01-12 00:00 316 查看
摘要: mac brew doctor 安装路径的权限

近日准备着手研究学习react,在用brew自检的时候,提示了路径的权限的问题

Warning: The /usr/local directory is not writable.
Even if this directory was writable when you installed Homebrew, other
software may change permissions on this directory. Some versions of the
"InstantOn" component of Airfoil are known to do this.

You should probably change the ownership and permissions of /usr/local
back to your user account.


估计是近段时间安装的开发软件有点多。造成了本地路径的用户组的变更。出现了上面的冲突

直接走命令即可:

sudo chowm `whoami` /usr/local/


当然,对于brew,还是得经常的:

brew update && brew upgrade

参考:http://www.yihangho.com/homebrew-and-clamxav/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: