[Pkg-hpijs-devel] Bug#522848: Bug#522848: hplip: scanning only working as root

Anders Boström anders at bostrom.dyndns.org
Tue Apr 7 17:02:29 UTC 2009


>>>>> "MP" == Mark Purcell <msp at debian.org> writes:

 MP> On Tuesday 07 April 2009 08:23:58 Anders Boström wrote:
 >> hp-toolbox and scanning isn't working. Scanning works as root, but
 >> when run as a normal user, I get this:

 MP> Hi Anders,

 MP> This is almost certainly a permissions issue.

Yes...

 MP> Please confirm your user account is a member of the group lp.

No, I'm not, am I supposed to? Printing works fine, scanning doesn't.

 >> # Hewlett-Packard PSC750
 >> SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1411", MODE="0664",
 >> GROUP="scanner", ENV{libsane_matched}="yes"

 MP> Your rule has added the group scanner.  You should check what permissions are 
 MP> for your device without your rule.

 MP> [...]
 >> Checking for permissions of USB attached printers...
 >> 
 >> HP Device 0x1411 at 007:005:
 >> Device URI: hp:/usb/PSC_750?serial=HU1BGCT0M6WB
 >> Device node: /dev/bus/usb/007/005
 >> Mode: 0664
 >> getfacl: Removing leading '/' from absolute path names
 >> # file: dev/bus/usb/007/005
 >> # owner: root
 >> # group: scanner
 >> user::rw-
 >> group::rw-
 >> other::r--

 MP> This is the permissions after your additional rule is applied.  What are the 
 MP> permissions without your rule?

OK, without the rule:

eckert:~# lsusb 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 003: ID 03f0:1411 Hewlett-Packard PSC 750
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
eckert:~# ll /dev/bus/usb/007/003 
crw-rw-r-- 1 root lp 189, 770 Apr  7 18:49 /dev/bus/usb/007/003
eckert:~# 

And I understand your lp group question now.

But this is most unlogical, that you have to be a member of the lp
group in order to scan, but not in order to print. And that being a
member of the scanner group isn't sufficient in order to scan.

/ Anders





More information about the Pkg-hpijs-devel mailing list