[sane-devel] Only superuser can scan

Antony Gelberg antony at wayforth.co.uk
Mon Jul 3 16:09:48 UTC 2006


Hi all,

This is a Debian testing box.  The normal user can't scan, but it's
different to permissions problems that I've seen before.  He can see a
scanner, but there is a question mark in the (incomplete) output of
sane-find-scanner.  It's a Canon lide 60 (genesys backend).  I have
bodged the permissions on /proc/bus/usb/001/002 to allow all rw, but no
difference.  It's running 2.6.15, with udev, not hotplug.

aft:/home/dr# sane-find-scanner -q
found USB scanner (vendor=0x04a9 [Canon], product=0x221c [CanoScan],
chip=GL841) at libusb:001:002
aft:/home/dr# su dr
dr at aft:~$ sane-find-scanner -q
found USB scanner (vendor=0x04a9, product=0x221c, chip=GL841?) at
libusb:001:002
dr at aft:~$ id
uid=1001(dr) gid=513(Domain Users)
groups=46(plugdev),110(scanner),111(saned),513(Domain Users)
dr at aft:~$ ls -l /proc/bus/usb/001/002
-rw-rw-rw- 1 root root 57 2006-07-02 17:26 /proc/bus/usb/001/002
dr at aft:~$ scanimage --version
scanimage (sane-backends) 1.0.17; backend version 1.0.17
dr at aft:~$ uname -a
Linux aft 2.6.15-1-k7 #2 Mon Mar 6 15:42:39 UTC 2006 i686 GNU/Linux

Any advice would be appreciated.

Antony



More information about the sane-devel mailing list