Fixing permission errors in Homebrew

When trying to install packages or linking packages with Homebrew on Mac OSX, you might encounter the following error:

"/usr/local/bin is not writable. You should change its permissions."

This occurs when your current user does not have permissions to symlink files in the/usr/local/bin directory.

To fix this, simply change the ownership of these files so you can modify them:

chown -R yourname:admin /usr/local/bin

Running brew link <package> or brew install <package> should now work without any issues.

Advertisements

Author: drewsymo

Developer

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s