linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: setting device permissions on connect
Date: Fri, 16 Jan 2004 21:06:26 +0000	[thread overview]
Message-ID: <20040116210625.GA2530@kroah.com> (raw)
In-Reply-To: <20040116111510.GA22887@piper.madduck.net>

On Fri, Jan 16, 2004 at 12:15:10PM +0100, martin f krafft wrote:
> Hi there,
> 
> I have browsed the web and read the code and documentation, and
> still, I can't figure out how to do the following:
> 
> Upon connection of a device, say vendor 0xdead and product 0xbeef,
> I would like to chgrp and chmod the corresponding node in
> /proc/bus/usb/*/*. How do I do this?

The permissions of these files are controlled by mount options to usbfs.
Unfortunaly for 2.6, these mount options do not work properly:
	http://bugme.osdl.org/show_bug.cgi?id\x1418

Hope this helps,

greg k-h


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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:[~2004-01-16 21:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-16 11:15 setting device permissions on connect martin f krafft
2004-01-16 21:06 ` Greg KH [this message]
2004-01-18 21:20 ` martin f krafft
2004-01-18 21:34 ` Kay Sievers
2004-01-19 16:21 ` martin f krafft

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=20040116210625.GA2530@kroah.com \
    --to=greg@kroah.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).