dB'*_*dB' 29 macos homebrew osx-mountain-lion
我刚刚安装了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
Run Code Online (Sandbox Code Playgroud)
什么"你应该'chown'他们"是什么意思?有人可以解释一下Homebrew究竟想要我做什么吗?
dB'*_*dB' 64
好的,chown用于更改文件所有权的unix命令也是如此.
Homebrew要求我改变所有权,/usr/local/share/man/de以便Homebrew可以写入它.Homebrew以与我相同的权限运行,因此将自己作为文件的所有者应该可以解决问题.
运行以下问题可以解决问题:
sudo chown $(whoami) /usr/local/share/man/de
Run Code Online (Sandbox Code Playgroud)