Re: [PATCH 4/8] USB: add API for userspace drivers to "claim" ports

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 29 Jun 2009 11:51:56 -0400 (EDT)
Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:

> On Mon, 29 Jun 2009, Alan Cox wrote:
> 
> > > If you wish to give them access to the hub device, why not? That's
> > > a user space problem.
> > 
> > So what governs the ability to do that - file permissions - in which case
> > we have auth and that would explain the lack of auth checks or is there
> > just no auth at all ?
> 
> File permissions on the /dev/bus/usb device nodes.  Setting these 
> permissions correctly isn't always easy to do.  For some devices it's 
> safe to give write access to the console user at least, but for most 
> access should be restricted to root.

Ok thats fine then and explains why there is no auth involved.

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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux