Comment 4 for bug 354

Revision history for this message
bowill (bowill) wrote :

gnomad2 should not require superuser access.

When run with hotplug support, the /etc/hotplug/usb/nomadjukebox script adds group audio permission to the correct "file" under /proc/bus/usb/. It also adds world write permission, which I think is incorrect, but that's another issue.

The problem here is that with the switch to udev, the device (now under /dev/bus/usb/) is not set with either the correct group or the correct permission to match the model that was used before. The udev config appears to indicate that the nomadjukebox should be run for the device, but it isn't. I don't see any indication that udevd has received an event from the kernel when the nomad was plugged in. And even if it did receive the event and run the script, it won't work because the script expects the device file to be a regular file (which it was under /proc/bus/usb/) rather than a character file (which it is under /dev/bus/usb/).