Pylint no-else-return refactoring: tenth (and so far last) set of files
[check_mk.git] / .werks / 5502
blobda335664f19e4f0906f5a0c892a9702d9833b8b9
1 Title: Prevent baked tar.gz agents from changing ownership of files on host
2 Level: 1
3 Component: agents
4 Class: fix
5 Compatible: compat
6 Edition: cee
7 State: unknown
8 Version: 1.6.0i1
9 Date: 1530769691
11 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".
13 In order to prevent this, the agent bakery now creates the tar.gz packages correctly by setting an ownership of "root".