我刚刚安装了Homebrew。当我运行brew doctor时,我得到了

Warning: Some directories in /usr/local/share/man aren't writable.
This can happen if you "sudo make install" software that isn't managed
by Homebrew. If a brew tries to add locale information to one of these
directories, then the install will fail during the link step.
You should probably `chown` them:

    /usr/local/share/man/de

“您可能应该“ clown ”它们”是什么意思?有人可以解释一下自制软件到底要我做什么吗?

最佳答案

好的,所以chown是用于更改文件所有权的unix命令。

Homebrew要求我更改/usr/local/share/man/de的所有权,以便Homebrew可以对其进行写入。 Homebrew的运行权限与我相同,因此使自己成为文件所有者应该可以解决问题。

运行以下命令可以解决此问题:

sudo chown $(whoami) /usr/local/share/man/de

关于macos - “You should probably ` chown它们是什么意思?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/17223427/

10-12 06:33