From 2026997530b9defad11b3337eb2f74465c374a70 Mon Sep 17 00:00:00 2001 From: quanhongfei <2506045831@qq.com> Date: Wed, 9 Dec 2020 11:02:22 +0800 Subject: [PATCH] change ownership of /var/lib/dhcpd to dhcpd:dhcpd --- dhcp.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dhcp.spec b/dhcp.spec index e50341c..7439ba2 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -3,7 +3,7 @@ Name: dhcp Version: 4.4.2 -Release: 1 +Release: 2 Summary: Dynamic host configuration protocol software #Please don't change the epoch on this package Epoch: 12 @@ -252,6 +252,7 @@ exit 0 %attr(0644,root,root) %{_unitdir}/dhcpd6.service %attr(0644,root,root) %{_unitdir}/dhcrelay.service %attr(0644,dhcpd,dhcpd) %verify(mode) %config(noreplace) %{_localstatedir}/lib/dhcpd/dhcpd.leases +%attr(0755,dhcpd,dhcpd) %dir %{_localstatedir}/lib/dhcpd/ %attr(0644,dhcpd,dhcpd) %verify(mode) %config(noreplace) %{_localstatedir}/lib/dhcpd/dhcpd6.leases %config(noreplace) %{_sysconfdir}/sysconfig/dhcpd %config(noreplace) %{dhcpconfdir}/dhcpd.conf @@ -290,6 +291,12 @@ exit 0 %{_mandir}/man3/omapi.3.gz %changelog +* Wed Dec 09 2020 quanhongfei - 4.4.2-2 +- Type:bugfix +- ID:NA +- SUG:restart +- DESC: change ownership of /var/lib/dhcpd/ to dhcpd:dhcpd + * Tue Nov 10 2020 quanhongfei - 4.4.2-1 - Type:requirement - ID:NA -- Gitee