-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Permission denied - /opt/homebrew-cask/Caskroom/(application) #15622
Comments
First, make sure Please post the output of |
From brew doctor:
From brew cask doctor:
Thank you for your helping! |
Ah, I see it's a permissions error: Can you please check if
If they don't look like that, let's fix that, run: sudo mkdir -p /opt/homebrew-cask/Caskroom
sudo chown -R ${USER}:staff /opt/homebrew-cask Try running And finally, if that still doesn't work, the "nuclear" option is: # NOTE: this will wipe homebrew-cask
brew uninstall brew-cask
brew untap caskroom/cask
sudo rm -rf '/opt/homebrew-cask'
brew install caskroom/cask/brew-cask Please let us know your results. |
Closing due to lack of reply |
Thanks @adidalal . It worked for me without needing to use the Nuclear option. |
Unable to install applications.
Already ran:
brew update && brew upgrade brew-cask && brew cleanup && brew cask cleanup
The text was updated successfully, but these errors were encountered: