Multi-user brew on OS X

Avoid running into permissions problems when multiple users on OS X want to use brew to install software by doing:

  • Add a group brew using Users & Accounts
  • sudo chgrp -R brew $(brew --prefix)/*; sudo chmod -R g+w $(brew --prefix)/*
  • brew doctor for a sanity check