How to fix permission-denied issues when executing homebrew commands
2022-12-30•1 min read
I tried to update ddev to the latest version, using brew upgrade ddev
in the terminal, and after each attempt I got a permission denied error.
The solution that worked is the following command:
sudo chown -R $(whoami) $(brew --prefix)/*