您的位置:首页 > 其它

Error: Running Homebrew as root is extremely dangerous and no longer supported.

2017-02-20 14:40 323 查看

homebrew 无法安装,提示不能在根目录下使用

BUG:
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.


解决问题方法:

1、sudo chown -R $(whoami) /usr/local
2、brew install thrift(此处不需要sudo)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  bug as brew HomeBrew
相关文章推荐