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)/*

@erma4ina
Copy link

erma4ina commented Apr 19, 2022

Was getting

erma4inapower@MacBook-Pro-Dmitrij  ~  brew services start php
Error: Permission denied @ rb_sysopen - /Users/erma4inapower/Library/LaunchAgents/homebrew.mxcl.php.plist

Ended up:

sudo chown -R $(whoami) /Users/erma4inapower/Library/LaunchAgents/

@mattbieber-lark
Copy link

mattbieber-lark commented Apr 30, 2022

🙏🙏🙏

@JuCarv-bit
Copy link

JuCarv-bit commented Jun 6, 2022

thanks! really helpful

@tiganabryan
Copy link

tiganabryan commented Jun 7, 2022

life saver!

@puchkii
Copy link

puchkii commented Jun 9, 2022

tysm🙏🏽

@xyliusun
Copy link

xyliusun commented Jun 14, 2022

thank you!

@lutabordaMeli
Copy link

lutabordaMeli commented Jun 21, 2022

thank you !!! what exactly did I just do ??? 🤔🤔🤔 you saved my lifeee

@dulfrey
Copy link

dulfrey commented Jun 29, 2022

thank you 😁

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