mac 下的brew的权限问题


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

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.

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

直接走命令便可:
学习

sudo chowm `whoami` /usr/local/

固然,对于brew,仍是得常常的:this

brew update && brew upgrade

参考:http://www.yihangho.com/homebrew-and-clamxav/code

相关文章
相关标签/搜索