-
-
Save irazasyed/7732946 to your computer and use it in GitHub Desktop.
Thank you, you are amazing
None of the above worked for me. Keep getting permissions errors when updating homebrew.
Example Permission Denied Error:
/Users/{insert username}/Library/Caches/Homebrew/api/formula_names.before.txt: Permission denied
The solution that worked was just deleting the cache files:
sudo rm -rf ~/Library/Caches/Homebrew/
Additionally, ran the following for good measure:
sudo chown -R {your username}:admin ~/Library/Caches/Homebrew/ sudo chmod -R 755 ~/Library/Caches/Homebrew/
Then reinstall Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Worked for me. thank you!
Thank you!
None of the above worked for me. Keep getting permissions errors when updating homebrew.
Example Permission Denied Error:
/Users/{insert username}/Library/Caches/Homebrew/api/formula_names.before.txt: Permission denied
The solution that worked was just deleting the cache files:
sudo rm -rf ~/Library/Caches/Homebrew/
Additionally, ran the following for good measure:
sudo chown -R {your username}:admin ~/Library/Caches/Homebrew/ sudo chmod -R 755 ~/Library/Caches/Homebrew/
Then reinstall Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Best fix. This worked for me on Monterey v12.6.3
Hi, for my case the error was Error: Permission denied @ dir_s_mkdir - /private/tmp/homebrew....
And the solution was
sudo chown $(whoami):admin /private/tmp/
I just updated to MacOs Sonoma 14.5, I do not know if that was the case ...
Hi, for my case the error was Error:
Permission denied @ dir_s_mkdir - /private/tmp/homebrew....
And the solution was
sudo chown $(whoami):admin /private/tmp/
I just updated to MacOs Sonoma 14.5, I do not know if that was the case ...
This is the [fix] I am looking for.
-Unknown Stormtrooper
Also on Sonoma 14.5, but I think the issue goes back to earlier version of Sonoma for me. I've just been rebooting to clear it, but I like this better.
None of the above worked for me. Keep getting permissions errors when updating homebrew.
Example Permission Denied Error:
/Users/{insert username}/Library/Caches/Homebrew/api/formula_names.before.txt: Permission denied
The solution that worked was just deleting the cache files:
sudo rm -rf ~/Library/Caches/Homebrew/
Additionally, ran the following for good measure:
sudo chown -R {your username}:admin ~/Library/Caches/Homebrew/ sudo chmod -R 755 ~/Library/Caches/Homebrew/
Then reinstall Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
worked for me on Sonoma 14.5, thanks bro
You save my life