【发布时间】:2013-07-12 08:10:59
【问题描述】:
我在我的 macbook pro (OSX 10.8.4) 上创建了一个新用户“爸爸”。 “爸爸”是管理员。我已经成功地将自制软件安装为“爸爸”。它以前是由另一个用户安装的。我做到了:
sudo chown -R dad /usr/local/
cd /usr/local/
chmod -R 777 *
但任何安装尝试,例如:
brew install nmap
给予:
Error: Permission denied - /Library/Caches/Homebrew/Formula/nmap.brewing
nmap.brewing 似乎不存在:
dad$ ls -l /usr/local/Library/Caches/Homebrew/Formula/nmap.brewing
ls: /usr/local/Library/Caches/Homebrew/Formula/nmap.brewing: No such file or directory
dad$ ls -l /Library/Caches/Homebrew/Formula/nmap.brewing
ls: /Library/Caches/Homebrew/Formula/nmap.brewing: No such file or directory
有什么想法吗?
【问题讨论】: