FS#3974 - udev.rules sets wrong group for IDE CDROMs
|
Details
/etc/udev/rules.d/udev.rules from udev-084-4 sets the wrong
group for ide CDROM/DVD devices. It appears that the
following rule is not being matched:
# permissions for IDE CD devices BUS=="ide", KERNEL=="hd[a-z]", SYSFS{removable}=="1", SYSFS{media}="cdrom*", NAME="%k", GROUP="optical" This rule would appear to be applied: # permissions for ide storage like pcmcia card readers BUS=="ide", KERNEL=="hd*", SYSFS{removable}=="1", NAME="%k", GROUP="storage" This means that /dev/hdd (or whatever the cd device is) is owned by root.storage, and not root.optical, which breaks applications like K3b. Reverting to the rule from an earlier udev.rules fixes the problem: # permissions for IDE CD devices BUS=="ide", KERNEL=="hd[a-z]", SYSFS{removable}=="1", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT=="cdrom*", NAME="%k", GROUP="optical" |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Thursday, 16 February 2006, 11:35 GMT
Reason for closing: Not a bug
Thursday, 16 February 2006, 11:35 GMT
Reason for closing: Not a bug
Comment by
Tobias Powalowski (tpowa) - Tuesday,
14 February 2006, 21:08 GMT
to me this osunds you run a custom kernel without the uevent patch
applied
Comment by Yi Qiang (yi) - Wednesday,
15 February 2006, 05:08 GMT
I also ran into this problem. What uevent patch? Why would udev
break with a vanilla kernel from kernel.org? I would _not_ force
your users to use archlinux's kernel.
Comment by
Tobias Powalowski (tpowa) -
Wednesday, 15 February 2006, 07:48 GMT
the uevent patch from abs in kernel26 dir apply this and all is
fine, it's the backport from 2.6.16