On Fri, Oct 02, 2009 at 10:25:16PM +0200, Oliver Neukum wrote: > Am Freitag, 2. Oktober 2009 19:42:36 schrieb David Vrabel: > > Greg KH wrote: > > > Wait right there. The admin set up the box so that both User A and User > > > B had access to the device, so you are screwed. Don't do that :) > > Hm. Acces rights are checked on open(). So assume you want to give > access to the user logged in locally. Now further assume one user logs > out and the other logs in. Even if your system is set up so that only one > user at a time has rights, how do you prevent the earlier user from keeping > a file open? The same way you would do this for any other file a user has open when they log out :) I think we are digressing down the path of revoke()... thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html