From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Cuyle Fritzinger Date: Tue, 04 Dec 2001 17:51:13 +0000 Subject: Re: hotplug ownership/permissions Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Tue, 4 Dec 2001, Tim Waugh wrote: > On Mon, Dec 03, 2001 at 04:05:26PM -0800, David Brownell wrote: > > > here's the logic behind this: by running every matching map entry's > > > module/script, we can guarantee that a single script won't hog the device. > > > the usb.agent will set owner/perms AFTER every script has run so that the > > > perms are guaranteed. > > > > I'm missing something here. Suppose two different apps want to > > assign the device to two different users? One's on the console, > > another's on a remote X display (or SSH)? > > I think that for the vast majority of cases, console-user permissions > are desired. definitely. in the case of system discs (mounted USB discs), you may want different permissions (root:root), but for most 'personal' peripherals, you'd want ownership to be that of the console user. -=Scott _______________________________________________ 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