From 944f9adf4f96e81d79a4b0e13416e231d6f294e1 Mon Sep 17 00:00:00 2001 From: Martin Osvald Date: Wed, 7 Aug 2024 07:07:45 +0200 Subject: [PATCH] Fix /run/kea ownership --- kea.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kea.spec b/kea.spec index d91669a..f1382a6 100644 --- a/kea.spec +++ b/kea.spec @@ -286,10 +286,10 @@ install -Dpm 0644 %{S:15} %{buildroot}%{_tmpfilesdir}/kea.conf %{_sbindir}/perfdhcp %{_unitdir}/kea*.service %dir %{_sysconfdir}/kea/ -%config(noreplace) %attr(640,root,kea) %{_sysconfdir}/kea/kea*.conf +%config(noreplace) %attr(0640,root,kea) %{_sysconfdir}/kea/kea*.conf %{_datarootdir}/kea -%dir %attr(750,kea,kea) %{_sharedstatedir}/kea -%config(noreplace) %attr(640,kea,kea) %{_sharedstatedir}/kea/kea-leases*.csv +%dir %attr(0750,kea,kea) %{_sharedstatedir}/kea +%config(noreplace) %attr(0640,kea,kea) %{_sharedstatedir}/kea/kea-leases*.csv %{python3_sitelib}/kea %{_mandir}/man8/kea-admin.8* %{_mandir}/man8/kea-ctrl-agent.8* @@ -303,7 +303,7 @@ install -Dpm 0644 %{S:15} %{buildroot}%{_tmpfilesdir}/kea.conf %{_mandir}/man8/kea-shell.8* %{_mandir}/man8/keactrl.8* %{_mandir}/man8/perfdhcp.8* -%dir /run/kea/ +%dir %attr(0755,kea,kea) %{_rundir}/kea/ %{_tmpfilesdir}/kea.conf %{_sysusersdir}/kea.conf