linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ipod rule and GROUP
@ 2006-06-07  1:08 jasonrc
  0 siblings, 0 replies; only message in thread
From: jasonrc @ 2006-06-07  1:08 UTC (permalink / raw)
  To: linux-hotplug

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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-07  1:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-07  1:08 ipod rule and GROUP jasonrc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).