From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C17B91396D9 for ; Sat, 4 Nov 2017 23:40:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF810E0EBA; Sat, 4 Nov 2017 23:40:24 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C82AAE0EC0 for ; Sat, 4 Nov 2017 23:40:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C55CE34177B for ; Sat, 4 Nov 2017 23:40:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 080589532 for ; Sat, 4 Nov 2017 23:40:21 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1509838644.974707d375cc8cb22593224b38c73853e906d157.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/pnp4nagios/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/pnp4nagios/pnp4nagios-0.6.26-r8.ebuild net-analyzer/pnp4nagios/pnp4nagios-0.6.26-r9.ebuild X-VCS-Directories: net-analyzer/pnp4nagios/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 974707d375cc8cb22593224b38c73853e906d157 X-VCS-Branch: master Date: Sat, 4 Nov 2017 23:40:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: dfb05385-8c66-40c9-9d60-ac5f136973cc X-Archives-Hash: 654c44589255bde193e4132daefd9a54 commit: 974707d375cc8cb22593224b38c73853e906d157 Author: Michael Orlitzky gentoo org> AuthorDate: Sat Nov 4 23:30:20 2017 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Sat Nov 4 23:37:24 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=974707d3 net-analyzer/pnp4nagios: use group permissions for writable directories. The past few revisions have made some directories owned by the "nagios user" so that the nagios/icinga daemon can write stuff there. Instead of giving ownership of those directories to the nagios user, it's a little bit more secure to give group-rwx permissions to the "nagios group." This new revision does that instead. Package-Manager: Portage-2.3.8, Repoman-2.3.3 .../{pnp4nagios-0.6.26-r8.ebuild => pnp4nagios-0.6.26-r9.ebuild} | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/net-analyzer/pnp4nagios/pnp4nagios-0.6.26-r8.ebuild b/net-analyzer/pnp4nagios/pnp4nagios-0.6.26-r9.ebuild similarity index 92% rename from net-analyzer/pnp4nagios/pnp4nagios-0.6.26-r8.ebuild rename to net-analyzer/pnp4nagios/pnp4nagios-0.6.26-r9.ebuild index 8d5fdbcf842..ffa296c1348 100644 --- a/net-analyzer/pnp4nagios/pnp4nagios-0.6.26-r8.ebuild +++ b/net-analyzer/pnp4nagios/pnp4nagios-0.6.26-r9.ebuild @@ -75,16 +75,19 @@ src_install() { # perfdata-dir... local user_group=nagios use icinga && user_group=icinga - fowners "${user_group}:${user_group}" /var/lib/pnp/{,perfdata,spool} + fowners ":${user_group}" /var/lib/pnp/{,perfdata,spool} + fperms g+rwx /var/lib/pnp/{,perfdata,spool} # and likewise for its logs... dodir /var/log/pnp - fowners "${user_group}:${user_group}" /var/log/pnp + fowners ":${user_group}" /var/log/pnp + fperms g+rwx /var/log/pnp # and its statistics. This one is arguably the responsibility of the # build system, since process_perfdata.cfg refers to this location. dodir /var/lib/pnp/stats - fowners "${user_group}:${user_group}" /var/lib/pnp/stats + fowners ":${user_group}" /var/lib/pnp/stats + fperms g+rwx /var/lib/pnp/stats } pkg_postinst() {