zsh compinit: insecure directories, run compaudit for list 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