From owner-freebsd-ports@freebsd.org Thu Sep 6 10:42:58 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0EC5AFF6A24 for ; Thu, 6 Sep 2018 10:42:58 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (net-2-44-121-52.cust.vodafonedsl.it [2.44.121.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mailserver.netfence.it", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7841C70AE6; Thu, 6 Sep 2018 10:42:57 +0000 (UTC) (envelope-from ml@netfence.it) Received: from guardian.ventu (wilbur.aviozzano-guglielmozamboni.it [88.147.119.19]) (authenticated bits=0) by soth.netfence.it (8.15.2/8.15.2) with ESMTPSA id w86AgpiT086331 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 6 Sep 2018 12:42:52 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host wilbur.aviozzano-guglielmozamboni.it [88.147.119.19] claimed to be guardian.ventu To: freebsd-ports@freebsd.org, mat@FreeBSD.org From: Andrea Venturoli Subject: Wrong log and archive permissions in Nagios Message-ID: Date: Thu, 6 Sep 2018 12:42:51 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.83 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2018 10:42:58 -0000 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? bye & Thanks av.