美文网首页
Homebrew 使用错误总结

Homebrew 使用错误总结

作者: sun_dev | 来源:发表于2017-05-26 16:49 被阅读2989次

Homebrew 使用错误总结

1、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.

把/use/local的owner換成自己,就有write權限了

whoami就是一個命令,會echo當前登錄用戶的名字。當然你知道自己的用戶名,比如jack,就直接

sudo chown -R jack /usr/local
也可以

相关文章

网友评论

      本文标题:Homebrew 使用错误总结

      本文链接:https://www.haomeiwen.com/subject/mrexfxtx.html