Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Yoper Linux Help
Reload this Page Changing permissions for scanner
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Yoper Linux Help Officially recognised support forum for Yoper Linux.

Reply
 
Thread Tools Display Modes
Old 12-06-2004   #1 (permalink)
gijii
Just Joined!
 
Join Date: Dec 2004
Posts: 2
Changing permissions for scanner

Hi all

I installed yoper this week end. This linux looks quite good
I am having a problem in using my Epson Perfection 1260 scanner.
I would like to use the iscan backend provided by Epson.
I installed the .rpm file and the scanner works but only as root.
I am trying to give all users the necessary permissions to use the scanner.
I have not yet succeeded in doing this.
As the scanner uses libusb and hotplug the device should change every time it is disconnected and reconnected.
I tried creating a script to give all users the necessary permissions, as explained on http://khk.net/sane/libusb.html.
That script is not working. But I don't have much experience with shell scripting... Any suggestion is appreciated.
Does anybody know another way to give all users the right permission to access the scanner?
This is the only problem I have to solve to end the configuration of my Yoper system, and, so far, everything went very well.
I don't want my girlfriend to use the root password every time she needs to use the scanner

Thank you

Antonluigi (Italy)
gijii is offline   Reply With Quote
Old 12-06-2004   #2 (permalink)
sarumont
Content Team Leader
 
sarumont's Avatar
 
Join Date: Apr 2003
Location: /dev/urandom
Posts: 3,662
Open up /etc/udev/permissions.d/50-udev.permissions in your fav. editor (*cough* vim *cough*) and look for the device that corresponds to your scanner. Make it owned by the group users and give it 0660 permissions. The entry will look roughly like this:

Code:
usb/scannerdevicehere*:root:users:0660
sarumont is offline   Reply With Quote
Old 12-07-2004   #3 (permalink)
gijii
Just Joined!
 
Join Date: Dec 2004
Posts: 2
I tried this way. It doesn't work.
If I am not wrong the scanner is not seen as scanner*
the command sane-find scanner reports it is connected at libusb:004:00x.
What device it that?
I can find it in /proc/bus/usb/devices/004 but it is not a /dev.
Could you please explain better what you suggested?
May be I didn't understand correctly

Thanks anyway for your help
gijii is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 08:11 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0