gpt4 book ai didi

macos - "You should probably ` chown`them"是什么意思?

转载 作者:行者123 更新时间:2023-12-02 03:45:05 28 4
gpt4 key购买 nike

我刚刚安装了 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

“你应该‘chown’它们”是什么意思?有人能解释一下 Homebrew 到底想让我做什么吗?

最佳答案

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

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

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

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

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

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com