Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 114789

Summary: sys-fs/udev-0.70r1 has wrong group on /dev/sg devices corresponding to CD-ROM drives
Product: Gentoo Linux Reporter: Philippe Troin <phil>
Component: [OLD] Core systemAssignee: Greg Kroah-Hartman (RETIRED) <gregkh>
Status: VERIFIED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.