标签:cas root 权限 direct audit 解决办法如下 local dir function
zsh compinit: insecure files, run compaudit for list. Ignore insecure directories and continue [y] or abort compinit [n]? 输入compaudit后输出如下: /usr/local/share/zsh/site-functions/_brew /usr/local/share/zsh/site-functions/_brew_cask /usr/local/share/zsh/site-functions/_brew_services /usr/local/share/zsh/site-functions/_carthage
多次尝试该权限无果,解决办法如下,需要更新4个文件的所有者:
sudo chown root /usr/local/share/zsh/site-functions/_brew
Cheers~
zsh compinit: insecure files, run compaudit for list.
标签:cas root 权限 direct audit 解决办法如下 local dir function
原文地址:https://www.cnblogs.com/r1char/p/13095123.html