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 <marecki@gentoo.org>
This commit is contained in:
Marek Szuba
2020-10-12 20:39:08 +02:00
parent 3dde55d0fd
commit bc8427ffe1
3 changed files with 3 additions and 6 deletions
+1 -2
View File
@@ -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}
+1 -2
View File
@@ -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}
+1 -2
View File
@@ -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}