LinuxQuestions.org
Visit Jeremy's Blog.
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 05-21-2005, 09:51 PM   #1
HornOUBet
LQ Newbie
 
Registered: Jun 2004
Location: Austin, Texas
Distribution: suse 9.2
Posts: 9

Rep: Reputation: 0
Root can scan user can not


Root can scan into Gimp, no problems... but user logged in does not detect scanner when Gimp aquire through xsane it says no scanner detected. Seems to be a permissions problem, but adding user to group root does not help... have noticed similar issue with other applications in different distros, which is the reason I am still wandering from distro to distro searching for the perfect one.
 
Old 05-21-2005, 10:13 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
I think you need something like this in fstab if it is connected by usb;
/dev/sda /mnt/scanner vfat noauto,ro,user,exec 0 0
 
Old 05-22-2005, 01:18 AM   #3
HornOUBet
LQ Newbie
 
Registered: Jun 2004
Location: Austin, Texas
Distribution: suse 9.2
Posts: 9

Original Poster
Rep: Reputation: 0
I'm running SCSI, but the point is, if root can scan, users should be able to scan... the hardware works, it's Linux that is screwed up... When it comes to Windows, I consider myself advanced... why does Linux have to be so difficult to get things to work? I can install a different distro, and my scanner works fine but my printer may not work... I can load a 3rd distro and the scanner and printer may work, but floppy disks won't format... it is very frustrating, to say the least.... and Linux will never seriously challenge Windows in the Desktop environment until an average user can install from CD and everything work with no problems... believe me, I want Linux to succeed ... I am just a realist....
 
Old 05-22-2005, 01:26 AM   #4
jabfinger
Member
 
Registered: Jan 2004
Location: USA, Pa
Distribution: Gentoo, Fedora Core 3, Mepis, Vector
Posts: 83

Rep: Reputation: 15
In order for users to have access to my parallel port scanner the device "/dev/parport" permissions must be set correctly.
If your scanner were a parallel port scanner then you might try "chmod 777 /dev/parport".

Hope this helps.
 
Old 05-22-2005, 05:14 AM   #5
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
That is the reason it is harder for someone to compromise your system.Its just a learning curve,change of thinking and a pain sometimes.
 
Old 05-22-2005, 09:46 AM   #6
comptiger5000
Member
 
Registered: May 2005
Distribution: Fedora Core Since version 3
Posts: 193

Rep: Reputation: 30
try giving the scanner 777 permissions
 
Old 05-22-2005, 01:27 PM   #7
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Quote:
Originally posted by HornOUBet
I'm running SCSI, but the point is, if root can scan, users should be able to scan... the hardware works, it's Linux that is screwed up... When it comes to Windows, I consider myself advanced... why does Linux have to be so difficult to get things to work? I can install a different distro, and my scanner works fine but my printer may not work... I can load a 3rd distro and the scanner and printer may work, but floppy disks won't format... it is very frustrating, to say the least.... and Linux will never seriously challenge Windows in the Desktop environment until an average user can install from CD and everything work with no problems... believe me, I want Linux to succeed ... I am just a realist....
Linux isn't screwed up, it sets permissions for things - the default might just not be what you want it to be. It would be easier to get certain things to work if hardware vendors would write linux drivers rather than leaving it to amateurs in their spare time. Windows does everything for you - including many things you didn't want it to do. Linux does exactly what you tell it to. It just takes time to learn.
 
Old 05-23-2005, 06:43 PM   #8
eddiebaby1023
Member
 
Registered: May 2005
Posts: 378

Rep: Reputation: 33
Quote:
Originally posted by comptiger5000
try giving the scanner 777 permissions
Or even 666, which is more appropriate. Who the hell wants to execute a scanner?
 
Old 05-25-2005, 09:28 PM   #9
HornOUBet
LQ Newbie
 
Registered: Jun 2004
Location: Austin, Texas
Distribution: suse 9.2
Posts: 9

Original Poster
Rep: Reputation: 0
How do I do that? I imagine in the /dev directory there is a driver file for the scanner, but I am not sure how to tell which one... I tried a chmod 777 * for all files and subdirectories from the root directory, and boy did that screw things up... I want to be a little more selective next try
 
Old 09-15-2005, 12:00 AM   #10
fataldata
Member
 
Registered: Jun 2002
Location: Breckenridge, Colorado
Distribution: Ubuntu Hardy 8.04
Posts: 101

Rep: Reputation: 15
This worked for me thanks to everyone.
The program named sane-find-scanner pointed me to /dev/sg0. Then I chmod 666 /dev/sg0 . Now other users than root are able to use my SCSI HP ScanJet 6100c scanner.

Now I just need to figure out how to get the GIMP to Aquire the scanner or xsane source.

Last edited by fataldata; 09-15-2005 at 12:19 AM.
 
  


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
how do i scan a character from keyboard without the user having to press enter rasika Programming 6 02-11-2010 09:54 PM
To SCAN or not to SCAN? HP750xi Suse 9.2 Pro newtwolinux Linux - Hardware 4 06-22-2005 05:02 PM
Scanner to work as USER and not forced as ROOT Root (Suse 9.1) 1kyle Linux - Hardware 0 07-10-2004 09:51 AM
IntelliMouse thumb buttons work as root, broken as non-root user, wheel works always digital vortex Linux - Hardware 7 03-02-2004 05:14 PM
Why does kppp.desktop require root userid for non-root user? rdaves@earthlink.net Linux - Networking 4 08-27-2001 10:18 AM


All times are GMT -5. The time now is 06:48 AM.

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