Re: User-level USB device drivers, and permissions

From: Oliver Neukum (Oliver.Neukum@lrz.uni-muenchen.de)
Date: Fri Oct 05 2001 - 19:08:34 EST


> 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/



This archive was generated by hypermail 2b29 : Sun Oct 07 2001 - 21:00:40 EST