1

I’m trying to reinstall postgresql on my mac (yosemite) after installing parallels seemed to mess up permissions to directories that psql and homebrew need. I was able to force-uninstall psql, but when running brew doctor before reinstalling I get:

Warning: The /usr/local directory is not writable.
Even if this directory was writable when you installed Homebrew, other
software may change permissions on this directory. Some versions of the
"InstantOn" component of Airfoil are known to do this.

You should probably change the ownership and permissions of /usr/local
back to your user account.

The other Warnings I get apply to /usr/local subdirectories.

I see many similar threads that recommend changing ownership via:

sudo chown $(whoami) /usr/local/

...but my question is, if I use this to change ownership & permissions back to my user account will this mess up Parallels?

Sorry, new to this, don’t quite understand the relationship between parallels & /usr/local/

  • /usr/local is usually owned by root under Unix and many programs will expect that (although really they should not need to know) – Mark Mar 1 '15 at 4:08
  • Thanks Mark, that gives me a better picture. I used chown & reinstalled psql. Now it's throwing "could not connect to server" error, so jumping to [stackoverflow.com/questions/12472988/… thread with same problem. – Steph Mar 2 '15 at 1:25
  • Steph - I would either install psql via Homebrew or use psql and no Homebrew - don't mix up package managers and other things – Mark Mar 2 '15 at 10:14
  • OK, thanks Mark, I'll stick w/Homebrew. Installed psql via Homebrew & going to keep troubleshooting permissions errors for now via [stackoverflow.com/questions/12472988/… – Steph Mar 2 '15 at 16:26

You must log in to answer this question.

Browse other questions tagged .