-
-
Save brevity/78dc913a614f33021fa3d1be78c28cf7 to your computer and use it in GitHub Desktop.
Configure homebrew permissions to allow multiple users on MAC OSX. Any user from the admin group will be able to manage the homebrew and cask installation on the machine.
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/sh | |
# Configure homebrew permissions to allow multiple users on MAC OSX. | |
# Any user from the admin group will be able to manage the homebrew and cask installation on the machine. | |
# allow admins to manage homebrew's local install directory | |
sudo chgrp -R admin /usr/local | |
sudo chmod -R g+w /usr/local | |
# allow admins to homebrew's local cache of formulae and source files | |
chgrp -R admin /Library/Caches/Homebrew | |
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