Comment 3 for bug 316215

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote : Re: [Bug 316215] Re: rule to enable use of android's adb

On Thu, 2009-01-15 at 22:18 +0000, Joel Stanley wrote:

> Generally speaking, adb doesn't allow you to brick your phone. It can
> give you a non-root shell (root on a dev phone, but if you have a dev
> phone there's plenty of ways to brick), install and remove applications,
> pull and push files from/to the device.
>
Right,

So this sounds like the kind of device access you would only want to
give to the user at the same physical console as the device.

In other words, access control by ACL (as we do for media players,
phones, scanners, etc. already)

> I saw your new udev-extras package. Not much documentation there but
> would this rule fit there?
>
> Or am I missing something entirely?
>
udev-extras does contain an early version of code that will set ACLs for
devices, but it is not suitable for use right now. It's intended to
replace code that already exists in HAL as we migrate away from HAL to
DeviceKit over the coming years.

Right now, the correct place to set your device ACL is through HAL.

Scott
--
Scott James Remnant
<email address hidden>