LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-29-2007, 03:32 PM   #1
tnandy
Member
 
Registered: Oct 2003
Location: Tennessee
Distribution: Fedora 22, CentOS
Posts: 169

Rep: Reputation: 15
Permission? problem in sane?


I was following along the sane man pages for my Mustek 1200CP parallel port scanner. (P4/1.7GHz, 1GB RAM, Fedora Core 3) So far, so good. The only problem is, I can only scan something if I am signed on as root or have done an su and entered my password. Even then it whines about "Do you REALLY want to scan this as root because you're risking your firstborn child" or something like that. If I try to use gimp or any of the GUI widgets as a regular user, I am out of luck. It says it can't find any scanner devices.

All this leads me to think this is a permissions problem (isn't it always a permissions problem?). When I "Click Here to Find Similar Threads" the solution seems to be "su first, then it works". Is there an elegant solution or am I stuck with the nag box?

Should I change the permissions on everything with "sane" in the name? Could it be as simple as one directory? I don't care, I just want this scanner to work with a minimum of hassle.

Thanks in advance for all advice.
 
Old 03-30-2007, 08:00 AM   #2
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,959

Rep: Reputation: Disabled
In a modern distro this is as easy as adding your user to the scanner group. May I advise against using a dead distro?

http://www.linuxquestions.org/questi...d.php?t=524803
 
Old 04-01-2007, 08:16 AM   #3
tnandy
Member
 
Registered: Oct 2003
Location: Tennessee
Distribution: Fedora 22, CentOS
Posts: 169

Original Poster
Rep: Reputation: 15
Thanks for the response.

Well, sure, advise away. FC3 was new when I installed it. I simply haven't taken the downtime to upgrade. Up to now, it has done everything I needed it to do.

Soooo.... Does that mean Fedora Core 3 is not modern enough to have a scanner group?

What is a scanner group and where do I find one?
 
Old 04-01-2007, 12:24 PM   #4
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,959

Rep: Reputation: Disabled
No it doesn't. I simply do not know a thing about FC business. In Gentoo scanner group is created automatically when SANE is installed, all I had to do was to add my user to this group.
 
Old 04-09-2007, 08:03 AM   #5
tnandy
Member
 
Registered: Oct 2003
Location: Tennessee
Distribution: Fedora 22, CentOS
Posts: 169

Original Poster
Rep: Reputation: 15
Permission? problem in SANE? persists

Despite extensive searching, I cannot find a scanner group.

Is there something else I can do to allow normal users to access the scanner? (Ideally, without the downtime associated with updating my distro...) Currently, only root or users with the su password can use the scanner.

Thanks in advance for any further help!
 
Old 04-09-2007, 08:15 AM   #6
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,959

Rep: Reputation: Disabled
What are the permissions of your scanner device? You may need to create this group,
add a line to your /etc/group
scanner:x:410:yourusername.
 
Old 05-03-2007, 08:04 AM   #7
tnandy
Member
 
Registered: Oct 2003
Location: Tennessee
Distribution: Fedora 22, CentOS
Posts: 169

Original Poster
Rep: Reputation: 15
Permission? problem in sane?

Quote:
add a line to your /etc/group
scanner:x:410:yourusername.
I did, and nothing has changed. I still have to "su" to use xsane. None of the GUIs, such as The GIMP, function.

Any other suggestions?

Last edited by tnandy; 05-04-2007 at 06:59 AM.
 
Old 05-03-2007, 08:21 AM   #8
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,959

Rep: Reputation: Disabled
Look, this is only one half of solution. In order the scanner group to work the scanner device must belong to this group. In a modern distro it is done using udev. Again, have no clue how to do it in FC3. Is udev used in FC3? If not you may try to chown the scanner device.
 
Old 05-04-2007, 07:27 AM   #9
tnandy
Member
 
Registered: Oct 2003
Location: Tennessee
Distribution: Fedora 22, CentOS
Posts: 169

Original Poster
Rep: Reputation: 15
Thanks for all your help! Being halfway there is very good news indeed!

Yes, udev exists. Unfortunately, as usual, the man pages were more confusing than helpful. I edited /etc/udev/permissions.d/50-udev.permissions. I found the following lines:
# scanner devices
scanner:root:root:0600
usb/scanner*:root:root:0600

The numbers at the end appear to be permissions. I changed 0600 to 0777 for the two lines shown, but this still doesn't help my scanner problem. What else should I try? Do I need to change the printer permissions, too, since this is a parallel port scanner?
 
Old 05-04-2007, 07:53 AM   #10
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,959

Rep: Reputation: Disabled
You may check parport permissions. Sorry, can't help you from here, I have no similar equipment.
 
Old 06-13-2007, 08:06 AM   #11
tnandy
Member
 
Registered: Oct 2003
Location: Tennessee
Distribution: Fedora 22, CentOS
Posts: 169

Original Poster
Rep: Reputation: 15
Permission? problem in sane?

Does anyone else have any further advice? If you have a solution to this problem, please post it here! Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba sharing problem (user permission problem) beikokutn Linux - Software 4 03-11-2008 05:55 AM
permission problem - "You don't have permission to access" radone Linux - General 3 07-24-2006 10:23 AM
What to do with SANE? Gammaw Linux - Newbie 3 02-10-2006 06:09 AM
sane/xsane printing problem on Fedora 3 swcng2001 Fedora 2 03-11-2005 07:44 PM
Sane Pedroski Linux - Software 9 10-05-2003 02:07 PM


All times are GMT -5. The time now is 10:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration