Red Hat Bugzilla – Bug 420131
Wrong ownership and permissions on USB device-special file
Last modified: 2007-12-15 12:50:54 EST
Description of problem:
The rules in /etc/udev/rules.d/nut-usbups.rules are always ignored, so that the
device-special file in /dev/bus/usb associated with a USB-connected UPS ends up
with the wrong ownership and permissions.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Attach UPS to USB port.
2. "lsusb" to learn where it is; sample output:
Bus 001 Device 002: ID 051d:0002 American Power Conversion Back-UPS Pro
3. Look at the device-special file; in the case of the example:
ls -l /dev/bus/usb/001/002
crw-r--r-- 1 root root 189, 1 Dec 11 11:30 /dev/bus/usb/001/002
crw-rw-r-- 1 root nut 189, 1 Dec 11 11:30 /dev/bus/usb/001/002
/etc/udev/rules.d/nut-usbups.rules starts out with the conditional:
but tracing with udevtest suggests that the desired SUBSYSTEM is "usb"; making
this change to the rules file seems to fix the problem.
You're right. I'm building an upgraded package. Thanks for reporting.
nut-2.0.5-7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update nut'
nut-2.0.5-7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.