From 09536152e5cffda2352147da4882316bffd35620 Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Wed, 20 Aug 2025 09:37:26 +0200 Subject: [PATCH] Change /usr/share/fapolicyd to root:root fapolicyd group does not have write access anyway. Fixes problem with dynamic user in image mode where it's not possible to use tmpfiles.d as the filesystem is readonly Resolves: RHEL-104873 --- fapolicyd.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fapolicyd.spec b/fapolicyd.spec index 91684f2..d9f78d9 100644 --- a/fapolicyd.spec +++ b/fapolicyd.spec @@ -199,10 +199,10 @@ fi %doc README.md %{!?_licensedir:%global license %%doc} %license COPYING -%attr(755,root,%{name}) %dir %{_datadir}/%{name} -%attr(755,root,%{name}) %dir %{_datadir}/%{name}/sample-rules -%attr(644,root,%{name}) %{_datadir}/%{name}/sample-rules/* -%attr(644,root,%{name}) %{_datadir}/%{name}/fapolicyd-magic.mgc +%attr(755,root,root) %dir %{_datadir}/%{name} +%attr(755,root,root) %dir %{_datadir}/%{name}/sample-rules +%attr(644,root,root) %{_datadir}/%{name}/sample-rules/* +%attr(644,root,root) %{_datadir}/%{name}/fapolicyd-magic.mgc %attr(750,root,%{name}) %dir %{_sysconfdir}/%{name} %attr(750,root,%{name}) %dir %{_sysconfdir}/%{name}/trust.d %attr(750,root,%{name}) %dir %{_sysconfdir}/%{name}/rules.d