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
Send a y
character to the input stream of the script using compinit
, in order to automatically answer the Ignore insecure directories and files and continue [y] or abort compinit [n]? question
echo "y" > source
The solution is useful when
Remark: It doesn't fix the problem and only hides the warning (as opposed to others answers here which involve removing 'group write access' or 'change ownership to root').