Переглянути джерело

package/polkit: fix permissions after version bump to 125

The service failed to start correctly if any custom rules were
installed. This commit aligns the permissions with the upstream
meson build step. See [1].

[1] https://github.com/polkit-org/polkit/commit/b6169f3113b3ce5ed822e66adcc962850c24660a

Signed-off-by: Martin Böh <contact@martb.dev>
[Julien:
  - remove unneeded leading zeroes on file permissions
  - add reference to upstream change in commit log
]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 6884127cbe98cd7881a6f3cba5bfae4f753763b0)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Martin Böh 7 місяців тому
батько
коміт
1d39583b4d
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      package/polkit/polkit.mk

+ 2 - 2
package/polkit/polkit.mk

@@ -56,8 +56,8 @@ define POLKIT_USERS
 endef
 endef
 
 
 define POLKIT_PERMISSIONS
 define POLKIT_PERMISSIONS
-	/etc/polkit-1/rules.d d 700 polkitd root - - - - -
-	/usr/share/polkit-1/rules.d d 700 polkitd root - - - - -
+	/etc/polkit-1/rules.d d 750 root polkitd - - - - -
+	/usr/share/polkit-1/rules.d d 750 root polkitd - - - - -
 	/usr/bin/pkexec f 4755 root root - - - - -
 	/usr/bin/pkexec f 4755 root root - - - - -
 	/usr/lib/polkit-1/polkit-agent-helper-1 f 4755 root root - - - - -
 	/usr/lib/polkit-1/polkit-agent-helper-1 f 4755 root root - - - - -
 endef
 endef