From: Christoph Junghans Date: Thu, 27 Aug 2015 03:50:21 +0000 (-0600) Subject: net-misc/openntpd: fixed permissions of NTP_HOME X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=9707d9a39d23383579a965eced0d12b8c6ff3cde;p=gentoo.git net-misc/openntpd: fixed permissions of NTP_HOME Gentoo-Bug: 558352 Package-Manager: portage-2.2.20.1 --- 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."