zsh compinit: insecure directories

前端 未结 23 2252
攒了一身酷
攒了一身酷 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条回答
  •  猫巷女王i
    2021-01-29 17:35

    1. run compaudit and it will give you a list of directories it thinks are insecure

    2. sudo chown -R username:root target_directory

    3. sudo chmod -R 755 target_directory

提交回复
热议问题