Werk #10429: Prevent tgz packages from modifying existing directories
Component | Agent bakery |
Title | Prevent tgz packages from modifying existing directories |
Date | Nov 12, 2019 |
Checkmk Edition | Checkmk Enterprise (CEE) |
Checkmk Version | 1.6.0p7 2.0.0i1 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Compatible - no manual interaction needed |
This is a regression since Werk #6711.
When unpacking as root (as it is normally done), the .tar.gz agent packages from agent bakery would modify access rights on existing directories like /etc and /usr/lib to have an access level of 0 (no access) on "others" (e.g. 755 changes to 750).
This bug is now fixed with this werk, as the agent bakery temporarily modifies it's umask when baking the .tar.gz agent packages.