How to fix homebrew permissions?

I was able to solve the problem by using chown on the folder: 

sudo chown -R "$USER":admin /usr/local

Also you'll (most probably) have to do the same on /Library/Caches/Homebrew:

sudo chown -R "$USER":admin /Library/Caches/Homebrew

posted on 2017-02-10 21:22  iosblog's  阅读(105)  评论(0编辑  收藏  举报

导航