安装Homebrew后如何解决OS X Lion上的权限错误
我刚刚从Snow Leopard升级到Lion,并尝试安装Homebrew。但是,安装后,我brew doctor按照安装说明运行,并看到一系列错误,表明/ usr / local目录不可写。例如: Error: /usr/local/share isn't writable. This can happen if you "sudo make install" software that isn't managed by Homebrew. If a brew tries to write a file to this directory, the install will fail during the link step. You should probably `chown` /usr/local/share 我得到了一堆目录: You …