6
4

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を使う

Posted at

別の管理者ユーザーを作成しhomebrewを実行したところ、エラーが発生。

Error: Cowardly refusing to 'sudo brew update'
You can use brew with sudo, but only if the brew executable is owned by root.
However, this is both not recommended and completely unsupported so do so at
your own risk.

下記コマンドで、管理者ユーザーの場合、Homebrewが使えるようになる。

sudo chgrp -R admin /usr/local
sudo chmod -R g+w /usr/local

参考サイト

6
4
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
6
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?