[Pkg-hpijs-devel] Bug#572247: hplip: start/stop button should fail with permission error dialog if not member of lpadmin

Mark Purcell msp at debian.org
Tue Apr 6 10:37:01 UTC 2010


On Wednesday 03 March 2010 03:06:24 Olivier Berger wrote:
> As far as I can understand, one needs to be a member of the lpadmin group so that the cups client library part of hp-toolbox can start/stop/resume printers managed by cups in the backend.

We have documented this in hplip.NEWS since 3.9.2.

> Now, if one executes hp-toolbox without being a member of lpadmin, the start/stop button will be useless, failing silently. 

Not good..

> I already filed a bug upstream about the fact that it fails silently instead of having some GUI dialog for error message (https://bugs.launchpad.net/hplip/+bug/530746).

Thanks..

> Now, I think that it should be documented somewhere that such lpadmin group membership is required (assuming that it's Debian-specific), and/or be mentioned in the error message instead of a very generic error.

I have now documented this in the hplip.NEWS document, it isn't a Debian specific issue, this is imposed on us through CUPS.

> Maybe hp-check could check for this too.

Indeed.

> ---------------
> | USER GROUPS |
> ---------------
> 
> olivier dialout cdrom floppy sudo audio video plugdev

You don't seem to be a member of lp nor lpadmin.

Given that hp-check does print the user groups a simple python mod should present an error message..

I'll leave this bug open until we can modify hp-check..

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-hpijs-devel/attachments/20100406/a8a404af/attachment.pgp>


More information about the Pkg-hpijs-devel mailing list