Created
April 6, 2018 00:59
-
-
Save davidjenni/f8208bcaeb684ba96e44bc998603e78e to your computer and use it in GitHub Desktop.
HomeBrew: multi-user config change to allow all users in staff group to call 'brew'
This file contains hidden or 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 to call 'brew'. | |
# Any user from the staff group will be able to manage the homebrew and cask installation on the machine. | |
# in newer macOS version (>= HighSierra ?), changing perms on /usr/local itself is rejected | |
sudo chgrp -R staff /usr/local/* | |
sudo chmod -R g+w /usr/local/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment