浏览代码

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 <nolange79@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 712ee21876562b46947142f35dfe1186d88ad241)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Norbert Lange 2 年之前
父节点
当前提交
988a548da6
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      package/polkit/polkit.mk

+ 3 - 2
package/polkit/polkit.mk

@@ -56,9 +56,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