From ebde9e16d5fd60e18928130d37cdc8384770114d517d61841cbb2c95d3ccbd67 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Mon, 22 Feb 2021 15:00:54 +0000 Subject: [PATCH] Accepting request 871417 from home:rmax:branches:Base:System - Revert /var/lib/ntp to the ownership and permissions it had in the ntp package. It should be owned by root and not be writable by the ntp user, because it is the base of ntpd's chroot envoronment and the ntp user is not supposed to log in anyway. OBS-URL: https://build.opensuse.org/request/show/871417 OBS-URL: https://build.opensuse.org/package/show/Base:System/system-users?expand=0&rev=60 --- system-users.changes | 8 ++++++++ system-users.spec | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/system-users.changes b/system-users.changes index 20b7664..a87fecc 100644 --- a/system-users.changes +++ b/system-users.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Feb 12 09:41:04 UTC 2021 - Reinhard Max + +- Revert /var/lib/ntp to the ownership and permissions it had in + the ntp package. It should be owned by root and not be writable + by the ntp user, because it is the base of ntpd's chroot + envoronment and the ntp user is not supposed to log in anyway. + ------------------------------------------------------------------- Thu Jan 14 16:30:39 UTC 2021 - Thorsten Kukuk diff --git a/system-users.spec b/system-users.spec index 22d956e..55c4afc 100644 --- a/system-users.spec +++ b/system-users.spec @@ -446,7 +446,7 @@ test -x /usr/sbin/usermod && /usr/sbin/usermod -s /bin/bash nobody ||: %files -n system-user-ntp %defattr(-,root,root) -%dir %attr(0750,ntp,ntp) %{_localstatedir}/lib/ntp +%dir %attr(0755,root,root) %{_localstatedir}/lib/ntp %{_sysusersdir}/system-user-ntp.conf %changelog