cygwin: zsh: zsh compinit: insecure directories

19 Nov 2009

Using cygwin under Windows, I’ve setup my shell as zsh by editing the launch script:

@echo off
C:
chdir C:cygwinbin
zsh -l -i

Unfortunately, this gives a nasty error everytime the shell is started up, due to Cygwin installing zsh incorrectly:

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

Solution, thanks to wezm.net:

compaudit | xargs chmod g-w
comments powered by Disqus

  « Previous: Next: »