Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OS X Catalina getting zsh compinit: insecure directories, run compaudit for list. #4

Open
fg78nc opened this issue Feb 22, 2020 · 6 comments

Comments

@fg78nc
Copy link

fg78nc commented Feb 22, 2020

OS X Catalina

  1. Downloaded bosh-complete-darwin
  2. chmod +x bosh-complete-darwin
  3. eval "$(./bosh-complete zsh-source)"

Getting:

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

run compaudit and tried to chown of listed directories, but it did not help.

Would appreciate your assistance.

@thomasmitchell
Copy link
Owner

Is bosh-complete writable by other users? It may be complaining that somebody else on the system could theoretically replace your completion target and cause you to run arbitrary code under your user.

@fg78nc
Copy link
Author

fg78nc commented Feb 22, 2020

It is writable by my regular OS user and in group staff

-rwxr-xr-x@ 1 fg staff 10101452 Feb 22 12:49 bosh-complete

@thomasmitchell
Copy link
Owner

what about other things that compaudit is complaining about?

@fg78nc
Copy link
Author

fg78nc commented Feb 22, 2020

compaudit complains about /usr/local/share directory only

@thomasmitchell
Copy link
Owner

and is that writable to non-root users that aren't you?

@fg78nc
Copy link
Author

fg78nc commented Feb 23, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants