Skip to content

Instantly share code, notes, and snippets.

@lightscalar
Created April 16, 2012 17:47
Show Gist options
  • Save lightscalar/2400269 to your computer and use it in GitHub Desktop.
Save lightscalar/2400269 to your computer and use it in GitHub Desktop.
Owning LinkedKegs

I was having some problems installing mongodb. I did the following:

brew update
brew install mongodb

This proceeded just fine, could not symlink, with the error:

Error: Could not symlink file: /usr/local/Cellar/mongodb/2.0.4-x86_64
/usr/local/Library/LinkedKegs is not writable. You should change its permissions.

I had to add appropriate permissions to this directory. Pretty easy to do so:

sudo chown -R $USER /usr/local/Library/LinkedKegs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment