Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2018 13:43:36 +0200
From:      Per olof Ljungmark <peo@nethead.se>
To:        freebsd-ports@freebsd.org
Subject:   Re: Wrong log and archive permissions in Nagios
Message-ID:  <7ea82acf-e403-96ca-ce4a-311229149895@nethead.se>
In-Reply-To: <dd8273ef-6303-fd7d-9a69-21a6087bcbe0@netfence.it>
References:  <dd8273ef-6303-fd7d-9a69-21a6087bcbe0@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On 9/6/18 12:42 PM, Andrea Venturoli wrote:
> Hello.
> 
> I run several instances of Nagios and they all share a problem: reports,
> alert histories, notifications, etc... cannot be viewed due to
> permission problems.
> In fact all the files are owned by nagios and access is denied to user
> www. Of course I can chown/chmod them, but it's not a permanent solution
> as rotation or new file creation will bring the problem back.
> 
> I see this was discussed here:
> https://github.com/NagiosEnterprises/nagioscore/issues/303
> 
> and I understand correctly this is supposed to be fixed upstream.
> Is it a problem specific to our FreeBSD port?

This is interesting, which version are you on? I am on 3.5.1_11 and do
not have this problem because nagios.log in /var/spool/nagios/ is owned
by nagios:nagios *and* readable by (o)thers, ie. 644.

//per



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7ea82acf-e403-96ca-ce4a-311229149895>