Homebrew 安装“工作人员组”错误
我正在尝试使用 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)
我应该如何安装这?我在网上到处读到人们使用这个安装脚本,它显然工作得非常好。
I'm trying to use the Homebrew install script:
/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"
It doesn't work:
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
Neither does that last line, which returns this when run with either $USER
or my actual username:
<main> attribute status: eDSPermissionError
<dscl_cmd> DS Error: -14120 (eDSPermissionError)
How am I supposed to install this? Everywhere I read about people using this install script on the web, it apparently works like gangbusters.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在 Lion 10.7.1 上遇到了同样的问题
我按照此处列出的命令进行操作: http: //obfuscurity.com/2011/07/Fishing-Group-Permissions-after-Migration-to-OS-X-Lion
现在我可以继续进行自制程序了 安装。
I was experiencing the same problem on Lion 10.7.1
I followed the command listed here: http://obfuscurity.com/2011/07/Fixing-Group-Permissions-after-Migrating-to-OS-X-Lion
And I am now able to proceed with the homebrew installation.