linux zsh compinit: insecure directories, run compaudit for list. Ignore insecure directories and continue [y] or abort compinit [n]? y code example
Example 1: zsh compinit: insecure directories, run compaudit for list.
$ sudo chmod -R 755 /usr/local/share/zsh
$ sudo chown -R root:staff /usr/local/share/zsh
Example 2: zsh compinit: insecure directories, run compaudit for list.
sudo chmod -R 755 /usr/local/share/zsh
sudo chown -R root:staff /usr/local/share/zsh
Example 3: zsh compinit: insecure directories, run compaudit for list.
compaudit | xargs chmod g-w