Werk #14707: agent_receiver: Fix crash in activation after omd cp

Component Agent bakery
Title agent_receiver: Fix crash in activation after omd cp
Date Dec 15, 2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.1.0p19 2.2.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Previously, the activation of changes would crash in the sites created as copies with the omd cp command. The error message stated "Permission denied: '/omd/sites/SITE_NAME/tmp/check_mk/data_source_cache/push-agent/HOST_NAME'".

To the list of all Werks