From 9707d9a39d23383579a965eced0d12b8c6ff3cde Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Wed, 26 Aug 2015 21:50:21 -0600 Subject: [PATCH] net-misc/openntpd: fixed permissions of NTP_HOME Gentoo-Bug: 558352 Package-Manager: portage-2.2.20.1 --- .../{openntpd-5.7_p4-r1.ebuild => openntpd-5.7_p4-r2.ebuild} | 3 +++ 1 file changed, 3 insertions(+) rename net-misc/openntpd/{openntpd-5.7_p4-r1.ebuild => openntpd-5.7_p4-r2.ebuild} (97%) diff --git a/net-misc/openntpd/openntpd-5.7_p4-r1.ebuild b/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild similarity index 97% rename from net-misc/openntpd/openntpd-5.7_p4-r1.ebuild rename to net-misc/openntpd/openntpd-5.7_p4-r2.ebuild index 721bf80554e0..227a4fa76f57 100644 --- a/net-misc/openntpd/openntpd-5.7_p4-r1.ebuild +++ b/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild @@ -76,6 +76,9 @@ pkg_postinst() { ewarn "Unable to remove legacy ${EROOT%/}${NTP_HOME}/etc directory" fi + # Fix permissions on home directory + chown root:root "${EROOT%/}${NTP_HOME}" || die + [[ -f ${EROOT}var/log/ntpd.log ]] && \ ewarn "Logfile '${EROOT}var/log/ntpd.log' might be orphaned, please remove it if not in use via syslog." -- 2.26.2