Werk #259: Fixed htpasswd permission problem in check_mk standalone installation

Component Core & setup
Title Fixed htpasswd permission problem in check_mk standalone installation
Date Jan 17, 2014
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.2.5i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

In a standalone installation the path /usr/local/nagios/etc is not writable by the apache user.
The user management module tried to create a file /usr/local/nagios/etc/htpasswd.new and rename it to /usr/local/nagios/etc/htpasswd afterwards -> failed
The workaround is that no htpasswd.new file will be created on standalone installations. The user management module now directly writes in htpasswd.

To the list of all Werks