Comment 2 for bug 1906991

Revision history for this message
Xav Paice (xavpaice) wrote :

Suspect this is related to LP:#1866382 (not a duplicate, though). We should consider having the NRPE charm ensure that the dir /var/lib/nagios (nagios user home dir) is owned like so:

drwxr-sr-x 3 nagios nagios 4096 Feb 3 02:04 /var/lib/nagios

Note the setgid, to ensure that cron jobs running as root which drop files in that dir make files that are readable in the dir by the nagios user, even if the machine has been locked down to remove the r-x permission on the dir (see LP:#1904045).