run executable file "Permission denied" on Android 4.2.2

367 Views Asked by At

I tried run ssserver on Nexus4 with Android 4.2.2 but can't. The result is "Permission denied". File permissions appear to be normal:

shell@mako:/data/local/tmp $ ls -al ssserver                                 
-rwxrwxrwx shell    shell      810284 2019-04-17 09:33 ssserver

I tried the following but it didn't work:

  • reboot device
  • disable selinux
  • create test.sh in same directory and set execute permission run but get same prompt "Permission denied"
  • create android 4.2.2 emulator

The problem seems to be only under Android 5.0 will happen. I tried create Android 4.2.2 emulator and execute ssserver it's ok!

Why can't I run ssserver on Android device?

0

There are 0 best solutions below