Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90611 - udev-045 doesn't set correct group for cdrom
Summary: udev-045 doesn't set correct group for cdrom
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-27 06:03 UTC by gad.kadosh
Modified: 2005-07-11 23:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gad.kadosh 2005-04-27 06:03:21 UTC
I used udev-045, and it set /dev/hdc to group 'disk' instead of 'cdrom'. For that reason my user didn't have access to the drive and I couldn't play cd-audio. 
By upgrading to udev-056 the problem was resolved. 
genstef asked me to tell you about the problem, and that a newer version needs to be marked stable. :)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-04-27 09:11:11 UTC
This is probably a dupe of Bug 85463 and also you cannot assume that /dev/hdc is cdrom drive. It is not for a heck a lot of people. You should use /dev/cdrom symlink instead. 
Comment 2 gad.kadosh 2005-04-27 10:37:44 UTC
true, but still the symlinks follow the target's permissions. And the fact is that once I upgraded udev, it correctly identified /dev/hdc as cdrom and gave it group 'cdrom', while leaving the other /dev/hd* in group 'disk'.
That's how it should be.
Comment 3 gad.kadosh 2005-05-12 09:15:30 UTC
You can close this bug I think. Now that udev 056 is stable the problem no longer exists for those who keep their system up to date...

Hope to see udev 057 soon ;-)
Comment 4 Greg Kroah-Hartman (RETIRED) gentoo-dev 2005-05-12 11:10:09 UTC
udev 057 will be a while :(
Comment 5 Colin Macdonald 2005-07-11 22:36:16 UTC
I'm seeing this bug again in udev-062 when I upgraded from 056.  My cdrom, cdrw
and dvd symlinks get created but their targets hde and hdf are owned by group disk:
aconite portage # ls -al /dev/cdrom /dev/dvd /dev/cdrw
lrwxrwxrwx  1 root root 3 Jul 11 22:12 /dev/cdrom -> hde
lrwxrwxrwx  1 root root 3 Jul 11 22:12 /dev/cdrw -> hde
lrwxrwxrwx  1 root root 3 Jul 11 22:12 /dev/dvd -> hdf
aconite portage # ls -al /dev/hde /dev/hdf
brw-rw----  1 root disk 33,  0 Jul 11 15:41 /dev/hde
brw-rw----  1 root disk 33, 64 Jul 11 15:41 /dev/hdf

Used to work for me automatically in 056.
Comment 6 Greg Kroah-Hartman (RETIRED) gentoo-dev 2005-07-11 23:37:53 UTC
See bug# 98290 for the 062 problem report.