-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
Error: Cannot write to /usr/local #3930
Comments
sudo chmod g+w /usr/local sudo chgrp staff /usr/local And it works... Perhaps the install script doesn't this correctly? |
@X20N: This fixed it for me. I just did brew update and then the permission problem appeared. Something broken in brew. |
Can this be of help?:
|
Did MindTooth's command help? |
I had a similar problem and for me MindTooth's command did fix it |
Just as an FYI, some OSX installs like 'Instant On' which comes with Airfoil 4.0.2 will reset permissions on /usr/local. |
You should write to Airfoil and tell them to stop doing that. On Fri, May 6, 2011 at 3:57 PM, leshill
|
Have done, wanted it in the thread just in case someone else ran into it. |
I think that's exactly what happened to me, leshill. Thanks! |
shouldn't |
- Airfoil during the install of InstantOn changes /usr/local to root:wheel ownership - [closes Homebrew#3930]
Both x2on and MindTooth's solutions work. Is there a preferred one? Wouldn't x2on's allow other admins to install too? (I commented here on this old issue because this is still a problem on a brand-new Mac w/ Lion. Posting this "fix" somewhere more accessible might be helpful.) |
I had the same issue on Lion, but only changing permissions and ownership wasn't enough. Not until I manually created |
Deleting |
This worked for me: |
I can't install any formula.
I get always this error message:
brew install wget
Error: Cannot write to /usr/local
I installed brew with:
I installed git with brew without problems.
But now i can't install any formula with brew install xyz
The text was updated successfully, but these errors were encountered: