[Bug 354] gnomad2 needs superuser access
bowill
bowill at gmail.com
Wed Mar 22 20:24:37 UTC 2006
Public bug report changed:
https://launchpad.net/malone/bugs/354
Comment:
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/).
More information about the universe-bugs
mailing list