reassign 336768 udev
retitle 336768 udev: wrong permissions for usb nodes
thanks

Jean-Luc Coulon (f5ibh) a écrit :
Package: libusb-0.1-4
Version: 2:0.1.10a-21
Severity: normal

Hi,

After urading from 2:0.1.10a-21 to 2:0.1.10a-22, the usb devices are only
partially displayed when lsusb is issued with an unprivilegied user.

i.e.:
[EMAIL PROTECTED] % lsusb                                                  ~
Bus 1 Device 3: ID 04b8:010a Seiko Epson Corp. Perfection 1640SU


Same command with the previous version:
[EMAIL PROTECTED] % lsusb                                                  ~
Bus 005 Device 007: ID 0402:5635 ALi Corp.
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 056a:0011 Wacom Co., Ltd Graphire 2
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 003: ID 0463:ffff MGE UPS Systems UPS
Bus 002 Device 002: ID 046d:c50b Logitech, Inc.
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 046d:08f0 Logitech, Inc.
Bus 001 Device 003: ID 04b8:010a Seiko Epson Corp. Perfection 1640SU
Bus 001 Device 001: ID 0000:0000

Reverting to -21 fixes this problem.


This bug is due to the fact udev does not set the rights in /dev/bus/usb the same way that the kernel does in /proc/bus/usb:

-rw-r--r--  1 root root 43 2005-10-31 16:26 /proc/bus/usb/003/001

crw-rw----  1 root root 189, 256 2005-10-31 16:26 /dev/usbdev3.1

BTW, I think that giving write access to an USB device to the whole root group is a bit too permissive. The correct default mode for such devices should be 644 as before in /proc/bus/usb.

Aurelien

--
  .''`.  Aurelien Jarno             | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   [EMAIL PROTECTED]         | [EMAIL PROTECTED]
   `-    people.debian.org/~aurel32 | www.aurel32.net


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to