gpt4 book ai didi

shell - 当我更新 oh-my-zsh 时出现错误。我该如何解决?

转载 作者:行者123 更新时间:2023-12-03 14:45:32 29 4
gpt4 key购买 nike

[oh-my-zsh] Insecure completion-dependent directories detected: 
drwxr-xr-x 6 501 admin 204 3 2 2016 /usr/local/share/zsh
drwxr-xr-x 8 501 admin 272 10 10 2016 /usr/local/share/zsh/site-functions
[oh-my-zsh] For safety, completions will be disabled until you manually fix all
[oh-my-zsh] insecure directory permissions and ownership and restart oh-my-zsh.
[oh-my-zsh] See the above list for directories with group or other writability.

最佳答案

尝试更改 .oh-my-zsh/权限:

➜ sudo chmod -R 755 ~/.oh-my-zsh

如果没有帮助,请尝试:
➜ chmod 755 /usr/local/share/zsh
➜ chmod 755 /usr/local/share/zsh/site-functions

关于shell - 当我更新 oh-my-zsh 时出现错误。我该如何解决?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50499750/

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