I just upgraded from Snow Leopard to Lion and am trying to get Homebrew installed. However after the installation, I run brew doctor per the installation instructions, and see a series of errors indicating that /usr/local directories aren't writable. For example:
Error: /usr/local/share isn't writable.
This can happen if you "sudo make install" software that isn't managed
by Homebrew.
If a brew tries to write a file to this directory, the install will
fail during the link step.
You should probably `chown` /usr/local/share
I get these for a bunch of directories:
You should probably `chown` /usr/local/include
You should probably `chown` /usr/local/share
You should probably `chown` /usr/local/share/man
I can't figure out why this error is coming up, as it appears that I am part of the Unix group that has write permissions to these directories:
Mini:~ felciano$ ls -ld /usr/local/share
drwxrwxr-x 4 root admin 136 May 13 15:53 /usr/local/share
Mini:~ felciano$ whoami
felciano
Mini:~ felciano$ dscl . -read /Groups/admin GroupMembership
GroupMembership: root felciano
Mini:~ felciano$
What am I missing?
/usr/localshould belong to me instead when this machine has multiple admin users. Also, It is possible for me to write to the locationsbrew doctoris complaining about. Any other ideas? – mgd Jun 23 '12 at 10:08