[sane-devel] xsane permission problem

Thomas H. George lists at tomgeorge.info
Wed Oct 5 20:55:57 UTC 2011


On Wed, Oct 05, 2011 at 03:03:49PM -0400, m. allan noah wrote:
> the device is set to be rw for group scanner. Is your user in group scanner?
> 
> allan
> 
tom at dragon:/lib$ less /etc/group

... clip ...

tom:x:1000:
scanner:x:114:saned,tom,lp
saned:x:115:

... clip ...

tom at dragon:/lib$ exit


tom at dragon:~$ groups tom
tom : tom adm lp mail dialout cdrom floppy audio video plugdev staff Debian-exim powerdev netdev scanner fuse

tom at dragon:~$ groups scanner
groups: scanner: No such user

> On Wed, Oct 5, 2011 at 2:55 PM, Thomas H. George <lists at tomgeorge.info> wrote:
> > I understand this is a well-known problem - I have scoured the
> > /usr/share/docs.  Tried every remedy I could find.  No success.
> >
> > System: Debian Squeeze  Scanner: Epson PERFECTION       2400 Photo
> >
> > tom at dragon:~$ ls -l /dev/bus/usb/001
> > total 0
> > crw-rw-r--  1 root root    189, 0 Oct  5 07:45  [0m [40;33;01m001 [0m
> > crw-rw-r--  1 root root    189, 1 Oct  5 07:45  [40;33;01m002 [0m
> > crw-rw-r--+ 1 root scanner 189, 4 Oct  5 12:25  [40;33;01m005 [0m
> >
> > tom at dragon:~$ ls -l /proc/bus/usb
> > total 0
> >
> > tom at dragon:~$ ls -l /usr/bin/xsane
> > -rwxr-xr-x 1 root tom 640536 Sep  5  2010 /usr/bin/xsane
> >
> > tom at dragon:~$ scanimage -L
> > device `epson2:libusb:001:005' is a Epson GT-9300 flatbed scanner
> >
> > tom at dragon:~$ ls -l /dev/usb -s001:005
> > Bus 001 Device 005: ID 04b8:011b Seiko Epson Corp. Perfection 2400 Photo
> >
> > tom at dragon:~$ ls -l /dev/bus/usb/001/005
> > crw-rw-r--+ 1 root scanner 189, 4 Oct  5 14:26 /dev/bus/usb/001/005
> >
> > tom at dragon:~$ ls -ld /etc/sane.d
> > drwxr-xr-x 3 root root 4096 Oct  5 12:00 /etc/sane.d
> >
> > tom at dragon:~$ ls -l /etc/sane.d/epson*
> > -rw-r--r-- 1 root root 376 May  3  2008 /etc/sane.d/epson2.conf
> > -rw-r--r-- 1 root root 793 May  3  2008 /etc/sane.d/epson.conf
> >
> > tom at dragon:~$ ls -l /etc/sane.d/dll.conf
> > -rw-rw-r-- 1 root root 928 Oct  5 12:00 /etc/sane.d/dll.conf
> >
> > tom at dragon:~$ grep epson /etc/sane.d/dll.conf
> > # epson
> > epson2
> >
> > tom at dragon:~$ grep -B1 011b /lib/udev/rules.d/60-libsane.rules
> > # Epson Perfection 2400 | Epson GT-9300UF | Epson Perfection 2400 PHOTO
> > ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="011b", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
> >
> > --
> > sane-devel mailing list: sane-devel at lists.alioth.debian.org
> > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> > Unsubscribe: Send mail with subject "unsubscribe your_password"
> >             to sane-devel-request at lists.alioth.debian.org
> >
> 
> 
> 
> -- 
> "The truth is an offense, but not a sin"
> 
> -- 
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org
> 




More information about the sane-devel mailing list