Skip to contentSkip to conversation

ipod rule and GROUP

DISCUSSION [email protected] 1 participant 1 message Jun 7, 2006

lore
Share & tools
lore
#0 lore raw

Hi, I have a question about my ipod. I have been using my ipod under udev with the following rule:

BUS="scsi", SYSFS{vendor}="Apple*", SYSFS{model}="iPod*", KERNEL="sd?2", SYMLINK+="ipod"

This rule works great but my normal user can't eject the device.

I tried adding the following to the rule:

GROUP="plugdev"

Where plugdev is a group that has users I would like to be able to use the ipod.

For some reason, the ipod device (/dev/sda2) has a group of "disk" and not "plugdev" like I wanted.

I was guessing that this was because of the rule in /etc/udev/rules.d/50-udev.rules that looks something like

# disk devices
KERNEL="sd*",          NAME="%k", GROUP="disk"

My ipod rule is under /etc/udev/rules.d/10-ipod.rules Does the later '50' rule over ride the group setting?

Any help is appreciated.

Thanks

jason

_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel