[sane-devel] Authorization , plug on plug off the usb

Tamkang power_station_2001 at yahoo.com
Thu Mar 30 11:18:50 UTC 2006

  I have a question , if the device files located in /proc/bus/usb/001/002  permissions was  -rw-rw-rw  the scanner can be use by unprevilaged user , so can i just change the permission ? for permanently. 
  and also I read the README.Linux there is a question too about distribution that I don't understand exactly what it means, I quote " ... One Solution to set permissions on-the-fly are the Linux hot-plug tools that should come with any current distribution 
  ( in here current distribution means my OS rignt ? Redhat  (e.g: README.redhat.gz ) where is this file ?  because ... ) 
  Your distribution  should have set up the scripts to automatically change permissions correctly. Look for " libsane.usermap" and "libusbscanner" in /etc/hotplug/usb . Usually you must just add the users that are allowed to access the scanner to group "scanner". To make that change active, the user must login again. ( is it will ask the user to input Password again?) For more details , see your distribution's documentation e.g : for debian : README.debian.gz ( and if I use Redhat where can I found thouse documentation ? ) because I am not experience in Linux, and I need help. Thanks

>On 2006-03-27 21:46, Tamkang wrote:
>> I have a Question that I encounter when I debug microtek2.c there is
>> an Authorization function , when it will use ? is it when open xsane
>> as a user not as a root so I must login first not as root and after
>> that I can use the scanner , there is a problem that I don't
>> understand where is goes wrong in this situation:

>The SANE authorization as mentioned in microtek2.c is not realated to
>your problem.

>If scanning works as root, it's just a permission issue. See the
>README.linux that comes with sane-backends for details.

>If this also doesn't work it may be that the scanner is already
>claimed by another program or the kernel. However this is more usual
>for multi-function devices. Updating to a current version of
>sane-backends should help in this case.

 > Henning

Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20060330/0cf476a6/attachment.html

More information about the sane-devel mailing list