Skip to content

Instantly share code, notes, and snippets.

@satococoa
Created April 16, 2012 03:08
Show Gist options
  • Save satococoa/2396188 to your computer and use it in GitHub Desktop.
Save satococoa/2396188 to your computer and use it in GitHub Desktop.
マルチユーザーでHomebrewを使う

マルチユーザーでHomebrewを使う

staffグループのユーザーに/usr/local以下の書き込み権限を与えればいい

umask 0022 を umask 0002 に変更し、新しく作成したファイルにgroup writeパーミッションがつくようにする

/etc/bashrc OR /etc/profileの最終行に以下を追加

umask 0002

/usr/localのパーミッションを調整

$ sudo chmod -R g+w /usr/local
$ sudo chgrp -R staff /usr/local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment