From 712ee21876562b46947142f35dfe1186d88ad241 Mon Sep 17 00:00:00 2001 From: Norbert Lange Date: Sat, 10 Dec 2022 14:17:36 +0100 Subject: [PATCH] package/polkit: fix file permissions to match upstream The permissions are now in sync with meson_post_install.py, and debian. Most importantly, polkit-agent-helper-1 is now setuid root, but also the rules.d directories rather than their parents are owned by polkitd. Signed-off-by: Norbert Lange Signed-off-by: Yann E. MORIN --- package/polkit/polkit.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/polkit/polkit.mk b/package/polkit/polkit.mk index 205d6aff4c..dab5d542eb 100644 --- a/package/polkit/polkit.mk +++ b/package/polkit/polkit.mk @@ -52,9 +52,10 @@ define POLKIT_USERS endef define POLKIT_PERMISSIONS - /etc/polkit-1 r 750 root polkitd - - - - - - /usr/share/polkit-1 r 750 root polkitd - - - - - + /etc/polkit-1/rules.d d 700 polkitd root - - - - - + /usr/share/polkit-1/rules.d d 700 polkitd root - - - - - /usr/bin/pkexec f 4755 root root - - - - - + /usr/lib/polkit-1/polkit-agent-helper-1 f 4755 root root - - - - - endef define POLKIT_INSTALL_INIT_SYSTEMD