Make /var/lib/dhcpcd writeable only by root (again)

Changed /var/lib/dhcpcd to be writeable, but the daemon does not require
it. Make it just group readable, keep write only for root.
This commit is contained in:
Petr Menšík 2021-03-22 17:54:29 +01:00
parent 7ef4cc1b1a
commit 14020bdee0

View File

@ -81,7 +81,7 @@ install -d %{buildroot}%{_sharedstatedir}/%{_name}
%{_sbindir}/%{name} %{_sbindir}/%{name}
%{_unitdir}/%{name}.service %{_unitdir}/%{name}.service
%{_unitdir}/%{name}@.service %{_unitdir}/%{name}@.service
%defattr(0664,dhcpcd,root,0775) %defattr(0644,root,dhcpcd,0755)
%{_sharedstatedir}/%{name} %{_sharedstatedir}/%{name}
%changelog %changelog