Skip to content

Instantly share code, notes, and snippets.

@windix
Forked from jaibeee/brew-perms.sh
Last active June 15, 2018 04:51
Show Gist options
  • Save windix/0a9912287d3e20be135ae28e70612a60 to your computer and use it in GitHub Desktop.
Save windix/0a9912287d3e20be135ae28e70612a60 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
sudo chgrp -R admin /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