From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Wed, 03 Mar 2004 18:37:05 +0000 Subject: Re: $local and user change Message-Id: <20040303183704.GB27709@kroah.com> List-Id: References: <200403031337.04427.dev@gioelebarabucci.com> In-Reply-To: <200403031337.04427.dev@gioelebarabucci.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Wed, Mar 03, 2004 at 01:37:03PM +0100, Gioele Barabucci wrote: > The $local change is nice, but I have one question about it: > > user "joe" plugs his usbkey (or pccard) and use it. > Then logs out and "jack" logs in. Jack can't use the key (correctly owned by > "joe", other users should not be able to read it) and can't even remove it > (need to umount to avoid hw problems). > > How should one solve this problem? Not use the $local rule for such a device? :) Seriously, it sounds like you should just give the device write access to a specific group of users, which is much easier to do. thanks, greg k-h ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click _______________________________________________ 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