clone 444808 -1 reassign -1 udev retitle -1 udev: USB devices should be readable by normal users severity -1 important severity 444808 minor retitle 444808 usbutils: manpage is outdated wrt /dev/bus/usb thanks
Takeshi Hakamata a écrit : > Package: usbutils > Version: 0.72-9 > Severity: normal > > > lsusb does not report any devices when a non-root user run it. No errors > are reported either. I ran lsusb with strace and it tries to open files It looks like that once again udev has changed the permission on the USB device nodes to something like 0660. This is plainly wrong. Note that read permissions on the device does not allow any transfer, as ioctls need write access. I am therefore cloning this bug to udev. > under /dev/bus/usb/nnn/nnn which are not world readable. The lsusb man > page says it has to open files under /proc/bus/usb/nnn/nnn which is world > readable. I guess reading files under /dev/bus/usb is a new way to > retreive USB information, but then the DIAGNSTICS section in the man page > needs to be fixed so that lsusb must open files under /dev/bus/usb. ubutils is now using libusb. I will update the manpage in the next upload. > It would also be nice for lsusb to report that it fails to open files. Unfortunately that is not possible has usbutils does not open the files itself. 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]