Wrong group for IDE cdrom/cdwriter/dvd devices
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev (Ubuntu) |
Fix Released
|
High
|
Scott James Remnant (Canonical) | ||
Bug Description
Binary package hint: udev
Feisty with udev 103-0ubuntu4. Used kernel is linux-image-
The group for cdrom/cdwriter devices gets set to 'root' instead of 'cdrom'.
This results for example that CD-writing software like k3b errors out because it has no permissions to write to the device unless you start it as root. Normally users in the 'cdrom' group should have write permissions to CD/DVD devices.
With the new libata under Feisty, IDE cdrom/cdrw/dvd devices are no longer /dev/hdX but /dev/sgX. But
# ls -l /dev/sg*
crw-rw---- 1 root root 21, 0 2006-12-14 03:00 /dev/sg0
crw-rw---- 1 root root 21, 1 2006-12-14 03:00 /dev/sg1
crw-rw---- 1 root root 21, 2 2006-12-14 03:00 /dev/sg2
crw-rw---- 1 root root 21, 3 2006-12-14 03:00 /dev/sg3
In this example sg1 is a CD writer and sg3 a DVD drive. Both should have the group 'cdrom'.
The /dev/scdX devices are also set to the wrong group. Here it's 'floppy' instead of 'cdrom'.
# ls -l /dev/cd*
lrwxrwxrwx 1 root root 4 2006-12-14 02:00 /dev/cdrom -> scd0
lrwxrwxrwx 1 root root 4 2006-12-14 02:00 /dev/cdrw -> scd0
# ll /dev/scd*
brw-rw---- 1 root floppy 11, 0 2006-12-14 03:00 /dev/scd0
brw-rw---- 1 root floppy 11, 1 2006-12-14 03:00 /dev/scd1
scdX are set to the group 'floppy', here again 'cdrom' should be the correct group.
Changed in udev: | |
status: | Unconfirmed → Confirmed |
Changed in udev: | |
importance: | Undecided → Medium |
Changed in udev: | |
assignee: | nobody → keybuk |
Changed in udev: | |
importance: | Medium → High |
I'm running Feisty and kernel 2.6.20-5-generic. I have the exact same problem. /dev/scd0 is listed under the group Floppy and /dev/sg0 and sg1 are in group root. NeroLinux complains that it needs free access to sg0 and sg1 so therefore can not function. Also, I can not write to UDF discs ...access denied.