美文网首页
zsh 目录权限和安全问题

zsh 目录权限和安全问题

作者: 西电大侠 | 来源:发表于2019-01-18 10:03 被阅读17次

执行过sudo chown -R $(whoami):admin /usr/local && sudo chmod -R g+rwx /usr/local后,发现zsh报错
[oh-my-zsh] For safety, we will not load completions from these directories until
[oh-my-zsh] you fix their permissions and ownership and restart zsh.
[oh-my-zsh] See the above list for directories with group or other writability.

解决办法

chmod 755 /usr/local/share/zsh
chmod 755 /usr/local/share/zsh/site-functions

相关文章

网友评论

      本文标题:zsh 目录权限和安全问题

      本文链接:https://www.haomeiwen.com/subject/emvgdqtx.html