From a4f9846026f895b6317eb2ba8869aa7d063cc015 Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Tue, 19 Aug 2025 23:10:31 +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 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fapolicyd.spec b/fapolicyd.spec index 71d3704..1d51e28 100644 --- a/fapolicyd.spec +++ b/fapolicyd.spec @@ -228,11 +228,11 @@ 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}/default-ruleset.known-libs -%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}/default-ruleset.known-libs +%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