Brew: In macOS 10.12 Sierra, /usr/local is readonly.

Created on 21 Jun 2016  路  2Comments  路  Source: Homebrew/brew

I ran sudo chown -R $(whoami) $(brew --prefix)

But it also prompt me:

Error: /usr/local must be writable!

I think that macOS 10.12 rootless is also in /usr/local
What should I do?

Most helpful comment

@mrgaolei sudo chown -R $(whoami) /usr/local.

All 2 comments

@mrgaolei sudo chown -R $(whoami) /usr/local.

Thanks... @MikeMcQuaid ! It worked

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cdekok picture cdekok  路  4Comments

rtobrien picture rtobrien  路  3Comments

JaKXz picture JaKXz  路  3Comments

cfredhart picture cfredhart  路  4Comments

stejmurphy picture stejmurphy  路  4Comments