package/polkit: add polkitd user and appropriate permissions
authorAdam Duskett <Aduskett@gmail.com>
Wed, 18 Dec 2019 22:09:35 +0000 (14:09 -0800)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 18 Dec 2019 22:15:54 +0000 (23:15 +0100)
commit2df6cf470397eae801e7f6ba9bfee88316a579b7
treec5a5d601855595f2b29986f71c3fd6d6cacfbccd
parent0db459fe3dd3628a54e9aa6253c8e2f61e7f554b
package/polkit: add polkitd user and appropriate permissions

The polkit daemon requires a polkitd user with permission to access the
following directories:
  - /etc/polkit-1
  - /usr/share/polkit-1

The /usr/bin/pkexec file must be owned by owned by root with the
permissions 4755 or else the error "pkexec must be setuid root" is
thrown when it's ran.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/polkit/polkit.mk