Red Hat Bugzilla – Bug 76757
xsane requires root priv to access scanner
Last modified: 2014-03-16 22:32:00 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003
Description of problem:
When running xsane as a mortal user it gives an error: "Failed to open device
'sm3600:1/3': Error during device I/O.". Running as root (and ignoring xsane's
warnings about the dangers of doing so) solves the problem. Scanner is a USB
Microtek ScanMaker 3600, FWIW.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Log in as a normal user and start X
2. Start xsane
3. Accept license agreement
Actual Results: Error message cited above appears in a pop-up.
Expected Results: Xsane main window should appear.
If you make a symlink /dev/scanner pointing to the right device, this should
It would be nice if kudzu did this for you I guess.
I had to add a script that changed the permissions of the device. I create a
file called /etc/hotplug/usb/sm3600 containing:
mesg setting permissions of $DEVICE
chmod a+rw $DEVICE
Then make this file executable (`chmod a+rx /etc/hotplug/usb/sm3600`). This
works for me, but the /dev/scanner symlink doesn't seem to work.
Annoying thing. Add me to cc
Some of this was handled by USB hotplug scripts in later releases. For the
Fedora Core development stream, handling of this is done/needs to be done via
udev rules. Closing as WONTFIX for kudzu, as this is handled elsewhere in