# Fixing zsh Compaudit Problem on OSX Catalina

DevFeed: [Fixing zsh Compaudit Problem on OSX Catalina](<https://devfeed.tech/articles/fixing-zsh-compaudit-problem-on-osx-catalina-28211.md>)

Original publisher: [Read original article](<http://fuzzyblog.io/blog/osx/2020/06/04/fixing-zsh-compaudit-problem-on-osx-catalina.html>)

Author: Fuzzygroup

Published: 2020-06-04T00:00:00Z

Content type: tutorial

Language: en

Sources: [Scott Johnson](<https://devfeed.tech/sources/scott-johnson.md>)

Topics: [Zsh](<https://devfeed.tech/topics/zsh.md>), [chmod](<https://devfeed.tech/topics/chmod.md>), [osx](<https://devfeed.tech/topics/osx.md>), [Shell](<https://devfeed.tech/topics/shell.md>)

Tags: [catalina](<https://devfeed.tech/tags/catalina.md>), [chmod](<https://devfeed.tech/tags/chmod.md>), [osx](<https://devfeed.tech/tags/osx.md>), [shell](<https://devfeed.tech/tags/shell.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

## AI overview

A troubleshooting article about resolving zsh compinit's insecure-directories warning on OSX Catalina. It identifies directory permissions as the issue and gives the command `compaudit | xargs chmod g-w`, reported to fix the problem.

## Source excerpt

Ever since OSX Catalina, every time I open a new shell window I get this error: zsh compinit: insecure directories, run compaudit for list. Ignore insecure directories and continue [y] or abort compinit [n]? y (eval):32: command not found: complete The issue with complete isn't the problem here - it is the insecure directories issue. After a bunch of googling, I found this command: compaudit | xargs chmod g-w which fixed the issue entirely.