Date: Sun, 12 Feb 2017 15:51:11 +0000 From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 202615] sysutils/polkit wrong permissions Message-ID: <bug-202615-6497-HLNPM3dt7u@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-202615-6497@https.bugs.freebsd.org/bugzilla/> References: <bug-202615-6497@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D202615 --- Comment #5 from commit-hook@freebsd.org --- A commit references this bug: Author: woodsb02 Date: Sun Feb 12 15:50:52 UTC 2017 New revision: 433951 URL: https://svnweb.freebsd.org/changeset/ports/433951 Log: 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 Changes: head/sysutils/polkit/Makefile head/sysutils/polkit/pkg-plist --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202615-6497-HLNPM3dt7u>