I am trying to run an executable from the android terminal with root permissions, but I am constantly receiving the following error:
[ExecutableName] : permission denied
I am confirmed to be loged in as root. I see the # sign before my prompt and I can run root commands such as chmod. I saw that the android shell guide says
"The built-in shell has very limited error handling. When you type a command name >incorrectly it will say "permission denied", even though the real problem is that it >couldn't find the command:"
Does anyone know how to get more information on this "permission denied" error?
ls -l
from the directory the executable is in and post that?---xrwxr-x 1 system sdcard_r 76 Oct 3 2007 doukutsu
sdcard_r
is interesting. Is the binary on your SD card? I know some devices (but possibly not all) simply won't let you run an executable if it's on the external storage. You could try moving it to/data/local
or somewhere similar and see if that helps. I don't know that there's a way to simply get more info from the shell as to why you're gettingpermission denied
, though.