Skip to content

Instantly share code, notes, and snippets.

@scottstanfield
Last active December 23, 2015 18:59
Show Gist options
  • Save scottstanfield/6679453 to your computer and use it in GitHub Desktop.
Save scottstanfield/6679453 to your computer and use it in GitHub Desktop.
Brew changes for multiple users
#!/bin/sh
# ask for an admin password upfront
sudo -v
sudo chgrp -R admin /usr/local
sudo chgrp -R admin /Library/Caches/Homebrew
sudo chmod -R g+w /usr/local
sudo chmod -R g+w /Library/Caches/Homebrew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment