Homebrew install permissions issue

后端 未结 7 1603
礼貌的吻别
礼貌的吻别 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:41

    You somehow have limited permissions to /usr/local/Cellar. Brew doesn't like to install with sudo which is why it refuses.

    Check the permissions:

    ls -ld /usr/local/Cellar

    Open them up for writing:

    sudo chmod a+w /usr/local/Cellar

提交回复
热议问题