Red Hat Bugzilla – Bug 124053
USB scanner not handled by hotplug at startup
Last modified: 2014-03-16 22:45:31 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510
Description of problem:
My USB scanner AGFA SNAPSCAN 1212U_2 is well handled by hotplug if
plugged in AFTER system startup and user login.
But when the scanner is running BEFORE booting, permissions in
/proc/bus/usb/xyz are not set appropriately so that a normal user
might run it.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Connect and switch on scanner
2. Boot & log in as normal user
3. scanimage -L
No scanners were identified.
device `snapscan:libusb:002:002' is a AGFA SNAPSCAN 1212U_2 flatbed
As /etc/hotplug/usb/libusbscanner gives the ownership of $DEVICE to
$CONSOLEOWNER, permissions aren't set before any login. This could be
fixed by simply setting 'chmod 0666 "$DEVICE"' in the libusbscanner
script. I can't imagine any bad security risks about that ...
I have the same problem with my Epson Perfection 1240. I had no
problems in FC1.
Having this very same problem with a Mustek Bearpaw 1200. I disagree
that the severity is low.
This should be changed to sane-backends since
/etc/hotplug/usb/libusbscanner (and usbcam, which is less conspicuous
because most people use digital cameras as usb-storage devices and/or
connect them after login) belongs to this package.
I suppose this is the same as bug #122595.
*** Bug 126508 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 121511 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.