This post was initially published on October 4, 2016.

I hit a small problem when setting up my Mac with macOS Sierra.

Zsh and its insecure directories

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

Use compaudit to show you where the problems are.

There are insecure directories:

Remove the write permission from group at the following directories.

chmod g-w /usr/local/share/zsh/site-functions
chmod g-w /usr/local/share/zsh