Skip to content

Instantly share code, notes, and snippets.

@bruceh48
Created March 16, 2019 13:00
Show Gist options
  • Save bruceh48/b9e2b84f20b4dbde493b5849859a9528 to your computer and use it in GitHub Desktop.
Save bruceh48/b9e2b84f20b4dbde493b5849859a9528 to your computer and use it in GitHub Desktop.
Get Brew to work in a multi user OSX setup
echo $(brew --prefix)
echo $(groups $(whoami))
sudo dseditgroup -o edit -a $(whoami) -t user admin
sudo chgrp -R admin $(brew --prefix)
sudo chmod -R g+rwX $(brew --prefix)
ls -lah $(brew --prefix)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment