Skip to content

Instantly share code, notes, and snippets.

View pedro-mass's full-sized avatar
🎯

Pedro Mass pedro-mass

🎯
View GitHub Profile
@pedro-mass
pedro-mass / set-brew-permissions.sh
Last active October 3, 2019 19:18 — forked from jaibeee/brew-perms.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.
#!/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 $(brew --prefix)/*
sudo chmod -R g+w $(brew --prefix)/*
# everything brew is self-contained in `$(brew --prefix)/*` - so you're all set!