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

Re: can't use my scanner as user



Thanxes it works great.
Eric

> Eric Tanguy can only use his scanner as root.
>
> He wrote:
>> Yes it works like this. But i don't want to unplug and plug it back
>> when i want to use it. What's the problem and how solve it ?
>
> Possibly the problem is the USB device node, /proc/bus/usb/$BUS/$DEVICE
> only having write permissions for root.
>
> If you do a sane-find-scanner, you'll get a line somewhat like this:
> found USB scanner (vendor=0x05d8, product=0x4003, chip=GT-6816) at
> libusb:001:002
>
> The two last numbers are the interesting ones: in my case, $BUS is 001
> and $DEVICE is 002. My scanner's device node is /proc/bus/usb/001/002,
> which by default was owned by root with permissions of 644.
>
> I solved this by creating a symlink from /dev/scanner to
> /proc/bus/usb/001/002. Then when I login at the console,
> /proc/bus/usb/001/002 is chowned to james and chmodded to 600. Now I can
> scan as a normal user.
>
> HTH,
>
> James.
>
> --
> E-mail address: james@ | Banana in disk drive error
> westexe.demon.co.uk    |
>
>
> --
> fedora-list mailing list
> fedora-list redhat com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list





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