Custom scripts on rooted Asus Transformer

Discussion in 'Android Tablet Hacking' started by SnagaDuath, Sep 4, 2011.

  1. SnagaDuath

    SnagaDuath Member

    Joined:
    Sep 4, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    60
    Tablet / Device:
    Asus Transformer + dock [rooted]
    i there,

    I rooted my transformer tablet recently and i'm trying to run custom scripts from a terminal emulator. For some reason i keep getting "permission denied" errors, even if i'm root user :-/ My current build is 8.6.5.7-20110730 from Asus.

    i've searched around, but can't seem to find anything regarding this issue. Below is the console output i get when trying to run a simple hello world script. Any ideas?

    / $ cd /sdcard
    /sdcard $ cat hello
    #!/bin/bash
    echo Hello World
    /sdcard $ ./hello
    bash: ./hello: Permission denied
    /sdcard $ su
    /sdcard # ./hello
    bash: ./hello: Permission denied
    /sdcard # chmod +x hello
    /sdcard # ./hello
    bash: ./hello: Permission denied
    /sdcard # chmod 777 hello
    /sdcard # ./hello
    bash: ./hello: Permission denied
    /sdcard #

    Sent from my Transformer TF101 using Android Tablet Forum
     
  2. tuennes74

    tuennes74 Member

    Joined:
    Sep 12, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    60
    Tablet / Device:
    Asus Transformer
    I have the exact same problem. Could it be that we have to be root in order to call scripts from the shell ?
     
  3. bm16ton

    bm16ton Member

    Joined:
    Dec 5, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    60
    Location:
    ellsworth, ME
    Tablet / Device:
    og droid, asus transformer
    you need to remount your sdcard with correct options (allow executing) or copy your scripts to /system/bin or /system/xbin etc. your trying to execute scripts in a non executable area.
     

Share This Page