Skip to content

Instantly share code, notes, and snippets.

@pjean
Forked from jaibeee/brew-perms.sh
Last active March 5, 2018 21:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pjean/e2969e9444ead8b1803c7f2d766cea2a to your computer and use it in GitHub Desktop.
Save pjean/e2969e9444ead8b1803c7f2d766cea2a 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.
#!/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
chgrp -R admin /usr/local/*
chmod -R g+w /usr/local/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment