Skip to content

Instantly share code, notes, and snippets.

@sambao21
Created September 14, 2013 03:18
Show Gist options
  • Save sambao21/6558551 to your computer and use it in GitHub Desktop.
Save sambao21/6558551 to your computer and use it in GitHub Desktop.
brew cask Permission denied error
Sams-MacBook-Pro:sambao21-sprout-wrap sambao21$ brew cask install spotify
==> Downloading http://download.spotify.com/Spotify.dmg
######################################################################## 100.0%
Error: Permission denied - /opt/homebrew-cask/Caskroom/spotify
Sams-MacBook-Pro:sambao21-sprout-wrap sambao21$ ls -la /opt/homebrew-cask
total 0
drwxr-xr-x 3 root staff 102 Sep 13 21:57 .
drwxr-xr-x 3 root wheel 102 Sep 13 21:57 ..
drwxr-xr-x 2 root staff 68 Sep 13 21:57 Caskroom
Sams-MacBook-Pro:sambao21-sprout-wrap sambao21$ brew info brew-cask
brew-cask: stable 0.16.0, HEAD
https://github.com/phinze/homebrew-cask/
/usr/local/Cellar/brew-cask/0.16.0 (562 files, 2.2M) *
Built from source
From: https://github.com/phinze/homebrew-cask/commits/master/brew-cask.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment