zsh compinit: insecure directories

前端 未结 23 2183
攒了一身酷
攒了一身酷 2021-01-29 17:22

What does it mean and how can I fix it?

zsh compinit: insecure directories, run compaudit for list.
Ignore insecure directories and continue [y] or abort compini         


        
23条回答
  •  一向
    一向 (楼主)
    2021-01-29 18:00

    MAC OS X solution :

    $ sudo chmod -R 755 /usr/local/share/zsh
    $ sudo chown -R root:staff /usr/local/share/zsh
    

    Also "user:staff = default root user on OSX.

提交回复
热议问题