Bug 125612

Summary: works for root only
Product: [Fedora] Fedora Reporter: Igor Mozetic <igor.mozetic>
Component: udevAssignee: Harald Hoyer <harald>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 2CC: twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 19:04:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Igor Mozetic 2004-06-09 12:32:39 UTC
Description of problem:
Scanner detection (USB, UMAX Astra 3400) works for root only.
Probably just permissions problem, but its not obvious
what should one do. Adding users to a group (which?)...

Version-Release number of selected component (if applicable):
sane-backends-1.0.13-7
xsane-gimp-0.92-10
sane-frontends-1.0.11-4
xsane-0.92-10

How reproducible:
Always

Steps to Reproduce:
1. run xsane as non-root user
2. Pop-up window: no device availabe
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Igor Mozetic 2004-06-10 13:38:14 UTC
The problem is apparently in the hotplug tool.
Namely, one can "chmod a+rw /proc/bus/usb/003/002"
after finding the file name with sane-find-scanner,
and xsane works for non-root as well.
However, this must be done after each reboot, see
http://www.sane-project.org/README.linux


Comment 2 Tim Waugh 2004-06-24 16:34:10 UTC
We ship a hotplug script for SANE: you can power off and on the device
(or unplug/re-insert the USB connector) to achieve what you want. 
This needs to be solved properly, and I'm told that udev will
eventually do that.

Comment 3 Harald Hoyer 2004-06-25 06:38:53 UTC
I think, this is solved better by HAL, as scanners do not identify
themselves easily as "scanner"s. Udev needs strict "rules"
(identifier) to e.g. symlink a device node to /dev/scanner.

Comment 4 Harald Hoyer 2004-07-12 12:59:53 UTC
also pam_console is good for that...

Comment 5 Tim Waugh 2004-07-12 13:36:12 UTC
No, it isn't -- that's what we use right now.

Comment 6 Tim Waugh 2004-07-12 15:19:49 UTC

*** This bug has been marked as a duplicate of 121511 ***

Comment 7 Red Hat Bugzilla 2006-02-21 19:04:00 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.