9
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Homebrew インストール時にパーミッションエラーが出た時の対策

Last updated at Posted at 2018-11-13

Macで別ユーザーを追加して、追加したユーザーによってHomebrewからインストールを試みた際に権限エラーになりました。

/usr/local の所有者など権限を設定しておく必要があるのでコマンドを備忘録として残します。

$ sudo chown -R $(whoami):admin /usr/local
$ sudo chmod -R g+w /usr/local
9
9
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?