近日準備着手研究學習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