From 5101923ff965cf35af7897e4dda378a1607f8f69 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sun, 6 Nov 2011 23:30:31 +0100 Subject: [PATCH] rules: restore rule to set cdrom group for optical drives On Sun, Nov 6, 2011 at 21:45, William Hubbs wrote: > someone on gentoo just reported to me that the following rule has been > deleted from udev-174, which is leaving his optical devices in the > standard "disk" group. He does not want to add his users to this group. --- rules/rules.d/50-udev-default.rules | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/rules.d/50-udev-default.rules b/rules/rules.d/50-udev-default.rules index b31ac42a..3ef67830 100644 --- a/rules/rules.d/50-udev-default.rules +++ b/rules/rules.d/50-udev-default.rules @@ -70,6 +70,7 @@ SUBSYSTEM=="block", GROUP="disk" SUBSYSTEM=="block", KERNEL=="fd[0-9]", GROUP="floppy" # cdrom +SUBSYSTEM=="block", KERNEL=="sr[0-9]*". GROUP="cdrom" SUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="4|5", GROUP="cdrom" KERNEL=="pktcdvd[0-9]*", GROUP="cdrom" KERNEL=="pktcdvd", GROUP="cdrom" -- 2.39.5