Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

SL4A (ASE) problems running python script as root

  • 23-05-2011 12:47pm
    #1
    Registered Users, Registered Users 2 Posts: 326 ✭✭


    Hi, i'm trying to write a python script which will run on a HTC Wildfire under SL4A. The script should set up a listen server. However i'm getting a permission denied error when i try opening the listen socket. The script runs without issue on a linux pc. I guess the issue is that it needs to be run as the root user to create the listen socket.

    Do I need to have the phone "rooted" to run a script as root user?


Comments

  • Registered Users, Registered Users 2 Posts: 326 ✭✭Paulj


    Actually never mind, just discovered you don't need root access to set up a listen socket. Problem was port 80 (http) was already in use for some reason.

    Anyway, this is really useful to be able to run scripts on the phone. Opens up all kinds of new potential for the old 'droid!


Advertisement