Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114789 - sys-fs/udev-0.70r1 has wrong group on /dev/sg devices corresponding to CD-ROM drives
Summary: sys-fs/udev-0.70r1 has wrong group on /dev/sg devices corresponding to CD-ROM...
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-07 12:12 UTC by Philippe Troin
Modified: 2005-12-08 17:53 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 Philippe Troin 2005-12-07 12:12:32 UTC
With the default udev configuration, the /dev/sg* devices (SCSI generic) are
owned by root:root with permissions 660.

For /dev/sg* devices corresponding to cdrom drives, /dev/sg* should be owned by
root:cdrom (still with permissions 0660).

Having CD-ROM sg devices inacessibles by members of the cdrom group breaks a lot
of assumptions in gentoo (cdrecord fails, the gnome desktop (see bug #114788 for
example)).

Adding this line to /etc/udev/rules.d/some_rule_file does the trick:

BUS=="scsi",    KERNEL="sg[0-9]+", ACTION=="add", DRIVER=="sr", GROUP="cdrom"


Reproducible: Always
Steps to Reproduce:
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2005-12-07 13:51:20 UTC
Will be fixed in 077-r1 release
Comment 2 Greg Kroah-Hartman (RETIRED) gentoo-dev 2005-12-07 14:33:34 UTC
Fixed in 077-r1 release.
Comment 3 Philippe Troin 2005-12-08 17:53:12 UTC
Confirmed on amd64.