Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 53950

Summary: Permissions problem with hotplug/usb-scanners
Product: Gentoo Linux Reporter: Patrick Kursawe (RETIRED) <phosphan>
Component: New packagesAssignee: Patrick Kursawe (RETIRED) <phosphan>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Patrick Kursawe (RETIRED) gentoo-dev 2004-06-14 23:25:57 UTC
Quoting plattsm <plattsm@safe2say.com>:
"""
It seems that the permissions are being set on the wrong file in     
usbfs.                                                                         
                                                                                
If I change the file /etc/hotplug/usb/libusbscanner at line 19 and 20 (that sets
the DEV var) to the following it works perfectly for me.                       
                                                                                
DEV=$(cat /sys/$DEVPATH/devnum)                                                 
"""
Since this refers to /sys I guess this is no option for 2.4 kernels. Since I can't test this I'd be happy to get some suggestions.
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2004-06-15 23:11:59 UTC

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