From 9ccbd8d87e6463bf0c2d7e81a443c36a60987d7e Mon Sep 17 00:00:00 2001 From: Vitezslav Crhonek Date: Tue, 27 Jan 2026 08:38:51 +0100 Subject: [PATCH] Specify the expected permissions for ghost dirs Related: RHEL-142231 --- mrtg.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mrtg.spec b/mrtg.spec index 86484b4..994bc6d 100644 --- a/mrtg.spec +++ b/mrtg.spec @@ -197,10 +197,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