FG
💻 Software

Can't install Brew formulae correctly (Permission denied in /usr/local/lib)

Fresh5 days ago
Mar 15, 202655052 views
Confidence Score1%
1%

Problem

I am installing a few Homebrew packages on a brand new Mac. However, there are some errors while linking: So SVN isn't really installed correctly, as we can see here: Same error for Git: However, this one's installed correctly: Should I just the directory or is there anything else I should preferably do?

Error Output

ln: ./libsvn_wc-1.dylib: Permission denied
Error: The linking step did not complete successfully
The package built, but is not symlinked into /usr/local
You can try again using `brew link subversion'
Error: Could not create symlink /usr/local/lib/libsvn_wc-1.dylib.
Check that you have permssions on…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Can't install Brew formulae correctly (Permission denied in /usr/local/lib)

Low Risk

As of writing, Homebrew requires the contents of /usr/local to be chown'd to your username. This doesn't seem like a great solution, but it works, and is evidently the recommended use. See: https://github.com/mxcl/homebrew/issues/9953#issuecomment-3800557 You can do:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment