Instantly share code, notes, and snippets.
sudo chown -R $(whoami) $(brew --prefix)/*
great, you save my life
Sorry, something went wrong.
In my case I had to setup a new local user on my machine and to remove the old one.
Then the folder ( defined by brew --prefix ) looses its owner.
With this the owner is set to the new local user and - it works!