aboutsummaryrefslogtreecommitdiff
path: root/sysutils/polkit/Makefile
diff options
context:
space:
mode:
authorBen Woods <woodsb02@FreeBSD.org>2017-02-12 15:50:52 +0000
committerBen Woods <woodsb02@FreeBSD.org>2017-02-12 15:50:52 +0000
commitd748bb465848959f3da6d01a0d76b2ea1c750fbf (patch)
tree4ef8afe0b9a26a7460006b345b26e77644225ba9 /sysutils/polkit/Makefile
parent086043a82cc171f544135d8bc440b961c8d4f81c (diff)
downloadports-d748bb465848959f3da6d01a0d76b2ea1c750fbf.tar.gz
ports-d748bb465848959f3da6d01a0d76b2ea1c750fbf.zip
sysutils/polkit: Fix directory permissions to allow reading config files
If the $LOCALBASE/etc/polkit-1 directory is owned by root and set 700, then polkit which is running as the polkitd user cannot read the config files in $LOCALBASE/etc/polkit-1/rules.d/* resulting in this error: Loading rules from directory /usr/local/etc/polkit-1/rules.d Error opening rules directory: Error opening directory \ '/usr/local/etc/polkit-1/rules.d': Permission denied \ (g-file-error-quark, 2) Loading rules from directory /usr/local/share/polkit-1/rules.d To fix this, change the $LOCALBASE/etc/polkit-1 to be set 755, and the $LOCALBASE/etc/polkit-1/localauthority to be set 700. This was sense checked with Fedora Linux which does the same, and with Debian/Ubuntu which have /etc/polkit-1/localauthority as owned by root:polkitd and set 750. PR: 202615 Reported by: rozhuk.im@gmail.com
Notes
Notes: svn path=/head/; revision=433951
Diffstat (limited to 'sysutils/polkit/Makefile')
-rw-r--r--sysutils/polkit/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/polkit/Makefile b/sysutils/polkit/Makefile
index a23727b7c812..fb8fb99f75a6 100644
--- a/sysutils/polkit/Makefile
+++ b/sysutils/polkit/Makefile
@@ -3,7 +3,7 @@
PORTNAME= polkit
PORTVERSION= 0.113
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= sysutils gnome
MASTER_SITES= http://www.freedesktop.org/software/polkit/releases/