From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Fri, 16 Jan 2004 21:06:26 +0000 Subject: Re: setting device permissions on connect Message-Id: <20040116210625.GA2530@kroah.com> List-Id: References: <20040116111510.GA22887@piper.madduck.net> In-Reply-To: <20040116111510.GA22887@piper.madduck.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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?id18 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