From 62fcf9952bbe59e9ae8c45dfe5503aeba000819a Mon Sep 17 00:00:00 2001 From: Vitezslav Crhonek Date: Tue, 27 Jan 2026 09:52:29 +0100 Subject: [PATCH] Specify the expected permissions for ghost dirs Related: RHEL-142950 --- mrtg.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mrtg.spec b/mrtg.spec index 65785cb..845af9e 100644 --- a/mrtg.spec +++ b/mrtg.spec @@ -134,10 +134,10 @@ fi %{_mandir}/*/* %exclude %{_datadir}/mrtg2/icons %exclude %{_datadir}/doc/mrtg2 -%ghost %dir %{libdir} -%ghost %dir %{contentdir} +%ghost %attr(0755,root,root) %dir %{libdir} +%ghost %attr(0755,root,root) %dir %{contentdir} %{_tmpfilesdir}/mrtg.conf -%ghost %dir %{_localstatedir}/lock/mrtg +%ghost %attr(0755,root,root) %dir %{_localstatedir}/lock/mrtg %{_unitdir}/mrtg.service %{_unitdir}/mrtg.timer