[Pkg-hpijs-devel] Bug#483205: hplip: group scanner requirements.

Till Kamppeter till.kamppeter at gmail.com
Mon Jun 23 16:12:57 UTC 2008


Mark Purcell wrote:
> On Sun, 22 Jun 2008, you wrote:
>>> I was just also receiving a code=12 error message and by adding myself to
>>> the scanner group. I am now able to access the device correctly through
>>> hp-toolbox.
>> Yes, this fixed the problem.
>> code=12 was a bit obtuse for "you are not a member of the group scanner"
> 
> Arthur,
> 
> Excellent, glad we have made some progress. But you are right the error 
> message isn't sensible and the scanner group doesn't make sense for running 
> hp-toolbox.  The reason is that the USB device ownership is set lp.scanner, 
> this is a Debian/ Ubuntu modification.
> 
> Arthur.  Wrt your ink supply Traceback, please file a new bug report, with 
> upstream preferably, as you will see if you try and file a report with hplip 
> 2.8.6.
> 
> 
> Till, the upstream file ./data/rules/55-hpmud.rules sets the USB device 
> OWNER="root", GROUP="lp", whilst the debian/ubuntu version 
> debian/55-hpmud.rules sets OWNER="lp", GROUP="scanner".
> 
> This has the effect that everyone trying to use hplip needs to be a member of 
> group scanner to use things such as hp-toolbox, rather than the expected lp 
> group. How would you feel if  we reverted 55-hpmud.rules back to the upstream 
> default of OWNER="root", GROUP="lp".

Ubuntu from Hardy on sets ACLs for these files to make them always 
read/write accessible for the user currently logged in on the desktop. 
Adding users to a group, like "scanner", is only needed if one wants to 
grant access to users who log in by ssh, VNC, NX, ...

So for the standard configuration it does not matter whether the 
ownerships allow access for members of the group scanner. What is always 
important is to allow access for the "lp" user, so that CUPS can print. 
And this is also fulfilled with OWNER="root", GROUP="lp".

    Till






More information about the Pkg-hpijs-devel mailing list