[sane-devel] saned: Permission problem on Fedora 8, Deskjet_F300_series all-in-one

m. allan noah kitno455 at gmail.com
Fri Jan 11 02:40:54 UTC 2008


On 1/2/08, Nick Urbanik <nicku at nicku.org> wrote:
> Dear Folks,
>
> I am having problems setting up saned on Fedora 8:
> $ grep sane /var/log/rpmpkgs
> libsane-hpaio-2.7.7-6.fc8.i386.rpm
> sane-backends-1.0.18-17.fc8.i386.rpm
> sane-backends-devel-1.0.18-17.fc8.i386.rpm
> sane-backends-libs-1.0.18-17.fc8.i386.rpm
> sane-frontends-1.0.14-3.fc7.i386.rpm
> xsane-0.994-4.fc8.i386.rpm
> xsane-gimp-0.994-4.fc8.i386.rpm
>
> I've created user and group saned.
> $ grep saned /etc/passwd
> saned:x:1020:1021:User to run saned scanner daemon only:/:/sbin/nologin
>
> When I do:
> $ sudo -u saned sane-find-scanner |grep ^found
> found USB scanner (vendor=0x03f0, product=0x5511) at libusb:003:004
> However, as myself, we also get the model information:
> $ sane-find-scanner |grep ^found
> found USB scanner (vendor=0x03f0 [HP], product=0x5511 [Deskjet F300 series]) at
> +libusb:003:004
> $ scanimage -L
> device `hpaio:/usb/Deskjet_F300_series?serial=CN72FGM1CB04KH' is a Hewlett-Packard Deskjet_F300_series all-in-one
> And as the saned user, we get no biscuit:
> $ sudo -u saned scanimage -L
>
> No scanners were identified.
>
> Here are the permissions:
> $ ls -l /proc/bus/usb/003/004
> -rw-r--r-- 1 root root 147 2008-01-03 06:21 /proc/bus/usb/003/004
> $ cat /selinux/enforce 0
>
> local scanning works fine for me.

local scanning works fine as what user? the perms on that node dont
allow anyone other than root to write to the device...

allan
-- 
"The truth is an offense, but not a sin"



More information about the sane-devel mailing list