DEV Community

David Loor
David Loor

Posted on • Originally published at davidloor.com on

1

How to fix permission-denied issues when executing homebrew commands

person holding green and white pack

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)/*
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more