Muncul error di shell terminal zsh seperti di bawah:


    zsh compinit: insecure directories, run compaudit for list.

    ignore insecure directories and continue [y] or abort compinit [n]?

atau pesan error ketika install oh my zsh, pesan errornya seperti ini:


   [oh-my-zsh] Insecure completion-dependent directories detected:
    drwxrwxr-x  3 sanmacair  admin   96 Oct 17 06:28 /usr/local/share/zsh
    drwxrwxr-x  5 sanmacair  admin  160 Jan 31 11:06 /usr/local/share/zsh/site-functions

Lalu cara mengatasinya gimana?

Pertama, ketik command compaudit di terminal. Lalu akan muncul path directory yang bermasalah, sperti ini contohnya:


    There are insecure directories:
    /usr/local/share/zsh/site-functions

path /usr/local/share/zsh/site-functions adalah path di maksut insecure.

Kedua, ketik command berikut di terminal:


    sudo chmod -R 755 /usr/local/share/zsh/site-functions