From: Kay Sievers Date: Sun, 6 Nov 2011 22:30:31 +0000 (+0100) Subject: rules: restore rule to set cdrom group for optical drives X-Git-Tag: 175~3 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5101923ff965cf35af7897e4dda378a1607f8f69;p=systemd 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. --- 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"