[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: saned: permission problem with Deskjet_F300_series all-in-one



On 03/01/08 05:52 -0800, Mr.Scrooge wrote:
Nick Urbanik <nicku nicku org> wrote: Dear Mr Scrooge,
On 02/01/08 17:16 -0800, Mr.Scrooge wrote:
This might be a stupid question but did you give the saned group
permission to use the scanner?

Clearly not; I don't understand why I can use it and saned can't.
I also am not clear on the udev setup required to get it to work.

I installed an all in one device at
home and i installed it under my account(via
System>Administration>(root Password) and other users i.e. my
girlfriend could not use it right away.

As I said before:
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
I think you are having the same problem that i was having. Root owns
the printer and has read/write permission. The group permissions( in
this case the group root belongs to which only includes root has read
and everyone else has only the read permission). It confused me as
well the first time. So you must use chmod to make the printer
accessible to everyone or try installing the printer while logged in
as a member of the saned group.

I don't see how that can help; you or I would do so as root.

Can members of the saned group even see the printer? Does it show up
in the drop down when they try to print or is the postscript/default
the only thing present?

But why can I (as my own login) use the scanner?  Clearly I don't have
write access to the USB device, yet it works for me, but not the
saned user. Please look at the following carefully:

$ sudo -u saned scanimage -L
No scanners were identified.
$ sudo -u nicku scanimage -L
device `hpaio:/usb/Deskjet_F300_series?serial=CN72FGM1CB04KH' is a Hewlett-Packard Deskjet_F300_series all-in-one
$ sudo -u saned sane-find-scanner|grep ^found
found USB scanner (vendor=0x03f0, product=0x5511) at libusb:003:005
$ sudo -u nicku sane-find-scanner|grep ^found
found USB scanner (vendor=0x03f0 [HP], product=0x5511 [Deskjet F300 series]) at libusb:003:005
--
Nick Urbanik              http://nicku.org          nicku nicku org
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24

Attachment: pgpeMG5FwBM3M.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]