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

permission error on /var/cache/icinga2 folder under Windows #292

Open
WingsLikeEagles opened this issue Sep 12, 2022 · 1 comment
Open

Comments

@WingsLikeEagles
Copy link
Contributor

On a Windows host, when running the container an error occurs:
icinga2 | [2022-09-09 13:42:09 +0000] critical/cli: Could not create temporary objects file: Error: Function call 'chmod' for file '/var/cache/icinga2/icinga2.debug.4fkWV3' failed with error code 1, 'Operation not permitted'

This does not happen on a Mac. Suspect the permissions on the folder /var/cache/icinga2 are causing the error. I noticed the /var/log/icinga2 permissions are being modified in the Dockerfile, but not the /var/cache/icinga2.

@jjethwa
Copy link
Owner

jjethwa commented Sep 12, 2022

Hi @WingsLikeEagles

Thanks for the report. I haven't seen this issue on Linux or on Windows using Docker for Windows (WSL2). Are you using a volume for /var/cache/icinga2 perhaps?

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