Werk #10429: Prevent tgz packages from modifying existing directories
Komponente | Agent bakery |
Titel | Prevent tgz packages from modifying existing directories |
Datum | 12.11.2019 |
Checkmk Edition | Checkmk Enterprise (CEE) |
Checkmk-Version | 1.6.0p7 2.0.0i1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
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.