Homebrew install permissions issue

后端 未结 7 1591
礼貌的吻别
礼貌的吻别 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条回答
  •  -上瘾入骨i
    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

提交回复
热议问题