Page 1 of 1

Restarting removes write permission

Posted: Thu Jan 07, 2021 12:11 pm
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!