From dca1aabb94d73ccf81b58bfb8df93b2e4535bcdd39f0c32987f4746f01b12a18 Mon Sep 17 00:00:00 2001 From: Antonio Larrosa Date: Thu, 30 Mar 2023 09:30:23 +0000 Subject: [PATCH] Accepting request 1075307 from home:jsegitz:branches:Base:System - Change permissions for rules folders (bsc#1209282) OBS-URL: https://build.opensuse.org/request/show/1075307 OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=184 --- polkit.changes | 5 +++++ polkit.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/polkit.changes b/polkit.changes index 0aead5e..3a02a7e 100644 --- a/polkit.changes +++ b/polkit.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 29 13:37:25 UTC 2023 - Johannes Segitz + +- Change permissions for rules folders (bsc#1209282) + ------------------------------------------------------------------- Wed Nov 09 07:39:53 CET 2022 - aschnell@suse.com diff --git a/polkit.spec b/polkit.spec index 7f60035..b00fe54 100644 --- a/polkit.spec +++ b/polkit.spec @@ -1,7 +1,7 @@ # # spec file for package polkit # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -264,11 +264,11 @@ mkdir %{buildroot}/%{_sysconfdir}/polkit-1/actions %{_datadir}/polkit-1/policyconfig-1.dtd %dir %{_datadir}/polkit-1/actions %{_datadir}/polkit-1/actions/org.freedesktop.policykit.policy -%attr(0700,polkitd,root) %dir %{_polkit_rulesdir} -%attr(0600,polkitd,root) %{_polkit_rulesdir}/50-default.rules +%attr(0750,root,polkitd) %dir %{_polkit_rulesdir} +%attr(0640,root,polkitd) %{_polkit_rulesdir}/50-default.rules %{_pam_vendordir}/polkit-1 %dir %{_sysconfdir}/polkit-1 -%attr(0700,polkitd,root) %dir %{_sysconfdir}/polkit-1/rules.d +%attr(0750,root,polkitd) %dir %{_sysconfdir}/polkit-1/rules.d %dir %{_sysconfdir}/polkit-1/actions %{_bindir}/pkaction %{_bindir}/pkcheck