diff --git a/cmk/base/automation_helper.py b/cmk/base/automation_helper.py index 3647252ea27..adf13020f03 100644 --- a/cmk/base/automation_helper.py +++ b/cmk/base/automation_helper.py @@ -61,6 +61,7 @@ def __init__(self, app: FastAPI, cfg: ApplicationServerConfig) -> None: self._app = app self._options = { "daemon": cfg.daemon, + "umask": 0o077, "bind": APPLICATION_SOCKET, "workers": APPLICATION_WORKER_COUNT, "worker_class": APPLICATION_WORKER_CLASS, diff --git a/tests/integration/omd/test_init_scripts.py b/tests/integration/omd/test_init_scripts.py index cd93715a2c7..c5b722ba06a 100644 --- a/tests/integration/omd/test_init_scripts.py +++ b/tests/integration/omd/test_init_scripts.py @@ -10,6 +10,7 @@ def test_init_scripts(site: Site) -> None: scripts = { "agent-receiver", "apache", + "automation-helper", "cmk-ui-jobs", "core", "crontab",