linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: jasonrc@gomdoli.com
To: linux-hotplug@vger.kernel.org
Subject: ipod rule and GROUP
Date: Wed, 07 Jun 2006 01:08:16 +0000	[thread overview]
Message-ID: <20060607010814.GA9098@osu.edu> (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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

                 reply	other threads:[~2006-06-07  1:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060607010814.GA9098@osu.edu \
    --to=jasonrc@gomdoli.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).