Created
June 3, 2014 22:31
-
-
Save steshaw/56e627656d7292fa6ab9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Adapted from http://blog.strug.de/2012/06/my-homebrew-multi-user-setup/ | |
# | |
sudo dseditgroup -q -o create brew | |
sudo dseditgroup -o edit -a ${USER} -t user brew | |
sudo chgrp -R brew /usr/local # Change the group of homebrew installation directory. | |
sudo chmod -R g+w /usr/local # Allow group members to write inside this directory. | |
sudo chgrp -R brew /Library/Caches/Homebrew # Change the group of homebrew cache directory. | |
sudo chmod -R g+w /Library/Caches/Homebrew # Allow group members to write inside this directory. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment