We use cookies to ensure that we give you the best experience on our website. Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Werk #5502: Prevent baked tar.gz agents from changing ownership of files on host

ComponentAgent Bakery
TitlePrevent baked tar.gz agents from changing ownership of files on host
Date2018-07-05 07:48:11
Checkmk EditionCheckmk Enterprise Edition (CEE)
Checkmk Version1.4.0p35,1.6.0b1,1.5.0b8
LevelTrivial Change
ClassBug Fix
CompatibilityCompatible - no manual interaction needed

When extracting a tar.gz packaged agent from the agent bakery as root (as it is normallly done), the user and group ownerships of the extracted files would be set to the Check_MK site user, if such user is available on the target host. This would lead to a wrong ownership on some folders like "/etc", "/usr" and "/var".

In order to prevent this, the agent bakery now creates the tar.gz packages correctly by setting an ownership of "root".