Skip to content

Instantly share code, notes, and snippets.

@zoidyzoidzoid
Forked from jaibeee/brew-perms.sh
Created March 27, 2018 22:37
Show Gist options
  • Save zoidyzoidzoid/cf1fd9165d968e35c92f7395cfdd872b to your computer and use it in GitHub Desktop.
Save zoidyzoidzoid/cf1fd9165d968e35c92f7395cfdd872b 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