Homebrew install permissions issue

后端 未结 7 1589
礼貌的吻别
礼貌的吻别 2020-12-13 02:01

I have a standard homebrew install inside of usr/local/

When I try:

Larson-2:~ larson$ brew install postgresql
Error: Cannot write to /usr/local/Cell         


        
相关标签:
7条回答
  • 2020-12-13 02:43

    The problem can be solved by changing the directory's owner to the current user:

    sudo chown -R $USER /usr/local
    

    This answer is taken from: https://github.com/Homebrew/homebrew/issues/17884

    0 讨论(0)
提交回复
热议问题