Werk #15722: omd update: Fix setting world read permissions on etc and local files

Component Site management
Title omd update: Fix setting world read permissions on etc and local files
Date Jan 19, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p21 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Starting with 2.2.0 (see #15062), we use a umask of 0077 to prevent files and directories owned by the site user from being world readable. However, when updating from the CRE to a non CRE edition, some files and directories were still set to be world readable during 'omd update'. This is now in line with the other files.

To the list of all Werks