Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Homebrew: Permissions Denied Issue Fix (OS X / macOS)

Homebrew Permissions Denied Issues Solution

sudo chown -R $(whoami) $(brew --prefix)/*

@philipbankier
Copy link

Thank you ser!

@nnq1
Copy link

nnq1 commented Nov 10, 2022

great, you save my life

@ignoracenfly
Copy link

ignoracenfly commented Nov 10, 2022 via email

@ThorstenClaus
Copy link

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!

@ignoracenfly
Copy link

ignoracenfly commented Jan 25, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment