#11877 NORM 12.2.0: device permissions for USB devices should be more permissive
Zarro Boogs per Child
bugtracker at laptop.org
Fri May 25 17:38:19 EDT 2012
#11877: device permissions for USB devices should be more permissive
-----------------------------------+----------------------------------------
Reporter: pgf | Owner: pbrobinson
Type: enhancement | Status: new
Priority: normal | Milestone: 12.2.0
Component: distro | Version: not specified
Resolution: | Keywords:
Next_action: never set | Verified: 0
Deployment_affected: | Blockedby:
Blocking: |
-----------------------------------+----------------------------------------
Comment(by pgf):
this rule seems to work:
{{{
SUBSYSTEMS=="usb", SUBSYSTEM!="block", DRIVER="", MODE="0666"
}}}
this far more restrictive combination also seems to work with the handful
of devices i have on hand, but it's far more of a guess as to whether
these assumptions about the interface class being 0xff ("vend.") or the
device class being 0 will hold for the "interesting" devices that might
not have "real" drivers.
{{{
SUBSYSTEMS=="usb", ATTRS{bInterfaceClass}=="ff", MODE="0666"
SUBSYSTEMS=="usb", ATTRS{bDeviceClass}=="00", MODE="0666"
}}}
i'm inclined to favor the first rule. the XO is a very-single-user
device, and at worst, someone can make their laptop stop working while the
device in question is plugged in.
--
Ticket URL: <http://dev.laptop.org/ticket/11877#comment:7>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list