1

Homebrew インストール スクリプトを使用しようとしています。

/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"

それは動作しません:

This script requires the user <my_username> to be in the staff group. If this
sucks for you then you can install Homebrew in your home directory or however
you please; please refer to the website. If you still want to use this script
the following command should work:

    dscl /Local/Default -append /Groups/staff GroupMembership $USER

どちらか$USERまたは私の実際のユーザー名で実行すると、これを返す最後の行もありません。

<main> attribute status: eDSPermissionError
<dscl_cmd> DS Error: -14120 (eDSPermissionError)

これをどのようにインストールすればよいですか?Web 上でこのインストール スクリプトを使用している人々について読んだところならどこでも、どうやらこれは非常にうまく機能するようです。

4

1 に答える 1

2

Lion 10.7.1 で同じ問題が発生しました。ここにリストされているコマンドに従いました: http://obfuscurity.com/2011/07/Fixing-Group-Permissions-after-Migrating-to-OS-X-Lion

sudo dscl . append /Groups/staff GroupMembership `whoami`

そして、自作のインストールを続行できるようになりました。

于 2011-08-30T14:03:33.150 に答える