Fixing the zsh compinit 'Insecure Directories' Warning Without Disabling the Security Check
Diagnose and fix zsh's compinit 'insecure directories' warning: run compaudit, repair permissions or ownership on the exact paths reported, and know when compinit -u is an acceptable tradeoff.