Re: User-level USB device drivers, and permissions

Oliver Neukum (Oliver.Neukum@lrz.uni-muenchen.de)
Sat, 6 Oct 2001 02:08:34 +0200


> An idea in my head is to have a pam module that, for console users,
> mounts -tusbdevfs none /somewhere/usb-bus/$LOGNAME with user ownership
> on login and dismounts it on logout, but I don't know if that is
> feasible.

This is way too coarse. This control needs to be there on a device level at
least.

> Does anyone know if this problem has already been solved, or else can
> they think of a solution?

The current conventional wisdom is to use chmod in the hotplug scripts and
logout scripts.
This has been discussed in connection with a SANE backend for Microtek 3600
scanners.

Regards
Oliver
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/