Creating a non-python activity

shivaprasad javali jbsp72 at gmail.com
Fri May 23 00:33:23 EDT 2008


My app uses its own drivers for the USB-HID device. So i will have to detach
the existing driver before I can use my own drivers. So I need root
permission to do this.

On Fri, May 23, 2008 at 12:15 AM, Michael Stone <michael at laptop.org> wrote:

> On Thu, May 22, 2008 at 11:50:17AM +0530, shivaprasad javali wrote:
> > Hi.
> >
> >      The app that i am trying to run must be run as super user for it to
> run
> > properly. So i tried using su -c app_name in the shell script described
> in
> > the link http://olpcnews.com/forum/index.php?topic=1555.0
> >
> >       Now the activity just says starting in the home ring and doesnt
> > launch.
>
> The reason why your script fails is that general activities are run with
> low privilege and are not permitted to exercise the privileges of the
> human operator.
>
> See
>
>  http://wiki.laptop.org/go/Rainbow
>  http://dev.laptop.org/git?p=security;a=blob;f=bitfrost.txt;hb=HEAD
>
> for some details.
>
> Now, what are you actually trying to accomplish?
>
> Michael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/devel/attachments/20080523/211d2018/attachment.html>


More information about the Devel mailing list