From bc8427ffe1279b73d2b86427cf2e820ee4cd62dc Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Mon, 12 Oct 2020 20:33:59 +0200 Subject: net-p2p/syncthing: do not use fowners /var/log/syncthing is used by the OpenRC init script to store stdout and stderr of the daemon, and the script takes care of adjusting permissions accordingly. /var/lib/syncthing on the other hand is now owned by acct-user/syncthing. Signed-off-by: Marek Szuba --- net-p2p/syncthing/syncthing-1.10.0.ebuild | 3 +-- net-p2p/syncthing/syncthing-1.7.1.ebuild | 3 +-- net-p2p/syncthing/syncthing-1.9.0.ebuild | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) (limited to 'net-p2p') diff --git a/net-p2p/syncthing/syncthing-1.10.0.ebuild b/net-p2p/syncthing/syncthing-1.10.0.ebuild index 4a502ea07543..c7768ce3ea7f 100644 --- a/net-p2p/syncthing/syncthing-1.10.0.ebuild +++ b/net-p2p/syncthing/syncthing-1.10.0.ebuild @@ -602,8 +602,7 @@ src_install() { newconfd "${FILESDIR}/${PN}.confd" ${PN} newinitd "${FILESDIR}/${PN}.initd" ${PN} - keepdir /var/{lib,log}/${PN} - fowners ${PN}:${PN} /var/{lib,log}/${PN} + keepdir /var/log/${PN} insinto /etc/logrotate.d newins "${FILESDIR}/${PN}.logrotate" ${PN} diff --git a/net-p2p/syncthing/syncthing-1.7.1.ebuild b/net-p2p/syncthing/syncthing-1.7.1.ebuild index 625e4bd84cfd..9fa34665d9b7 100644 --- a/net-p2p/syncthing/syncthing-1.7.1.ebuild +++ b/net-p2p/syncthing/syncthing-1.7.1.ebuild @@ -554,8 +554,7 @@ src_install() { newconfd "${FILESDIR}/${PN}.confd" ${PN} newinitd "${FILESDIR}/${PN}.initd" ${PN} - keepdir /var/{lib,log}/${PN} - fowners ${PN}:${PN} /var/{lib,log}/${PN} + keepdir /var/log/${PN} insinto /etc/logrotate.d newins "${FILESDIR}/${PN}.logrotate" ${PN} diff --git a/net-p2p/syncthing/syncthing-1.9.0.ebuild b/net-p2p/syncthing/syncthing-1.9.0.ebuild index f3010346a5a5..0eccebf086d3 100644 --- a/net-p2p/syncthing/syncthing-1.9.0.ebuild +++ b/net-p2p/syncthing/syncthing-1.9.0.ebuild @@ -595,8 +595,7 @@ src_install() { newconfd "${FILESDIR}/${PN}.confd" ${PN} newinitd "${FILESDIR}/${PN}.initd" ${PN} - keepdir /var/{lib,log}/${PN} - fowners ${PN}:${PN} /var/{lib,log}/${PN} + keepdir /var/log/${PN} insinto /etc/logrotate.d newins "${FILESDIR}/${PN}.logrotate" ${PN} -- cgit v1.2.3-65-gdbad