Restarting removes write permission

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
lvlammert
Posts: 19
Joined: Thu Jun 07, 2012 3:54 pm

Restarting removes write permission

Post by lvlammert »

After updating to 4.4.5 recently, seeing a problem on the service restart: group write permissions are removed from the passive check results directory, .. i.e.:

Required:
drwxrwsr-x 1 nagios nagcmd 92 Jan 7 11:06 nagios/

On restart:
drwxr-sr-x 1 nagios nagcmd 92 Jan 7 11:06 nagios/

Which, of course, breaks all incoming passive checks. Setting the directory immutable DNW, as that blocks the Nagios restart. Why is Nagios changing perms on the directory on restart? Is that a bug?

Thanks!
Locked