Bug#698504: system-config-printer: permission problem though added to lp group
Luca Capello
luca at pca.it
Fri Dec 26 23:05:11 UTC 2014
reassign 698504 cups-pk-helper
found 698504 0.1.0-3
found 698504 0.2.3-3
severity 698504 important
affects 698504 + system-config-printer
tags 698504 + patch
user contact at itopie.ch
usertags 698504 + itopie.ch-installation
user it at apres-ge.ch
usertags 698504 + apres-ge.ch-installation
thanks
Hi there!
On Tue, 04 Feb 2014 20:49:02 +0100, Claudio Laurita wrote:
> I can confirm this bug in debian wheezy 32 bit too (with mate 1.6.0 desktop,
> kernel 3.11 i386).
> system-config-printer version 1.4.3-1
> cups 1.7.1-2
The problem resides in cups-pk-helper, which does not respect CUPS
'SystemGroup lpadmin' privileges as per /etc/cups/cups-files.conf.
The file below is enough to fix this, but please note that while the
service is org.opensuse.CupsPkHelper.Mechanism, the actions are all
lowercase. I discover that thanks to the more-than-3-year-old Ubuntu
fix, albeit not in the cups-pk-helper package:
<https://bugs.launchpad.net/ubuntu/+source/policykit-desktop-privileges/+bug/847896>
=====
$ cat /etc/polkit-1/localauthority/10-vendor.d/org.opensuse.cupspkhelper.pkla
[Adding or changing system-wide CUPS settings]
Identity=unix-group:lpadmin;unix-group:sudo
Action=org.opensuse.cupspkhelper.mechanism.*
ResultAny=no
ResultInactive=no
ResultActive=yes
$
=====
Thx, bye,
Gismo / Luca
-- System Information:
Debian Release: 7.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages cups-pk-helper depends on:
ii libc6 2.13-38+deb7u6
ii libcups2 1.5.3-5+deb7u4
ii libglib2.0-0 2.33.12+really2.32.4-5
ii libpolkit-gobject-1-0 0.105-3
cups-pk-helper recommends no packages.
cups-pk-helper suggests no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20141227/ca9e2df8/attachment-0001.sig>
More information about the pkg-gnome-maintainers
mailing list