Android 6.0 permission denied

835 views Asked by At

I am using Android 6.0. I have an application that copies executable file (compiled for arm) to the app data folder. In the app I have set the executable permissions to:

chmod 777 /data/data/pckname/files/executable 

when I try to run the file using adb shell I get this message

/system/bin/sh: /data/data/pckname/files/executable: can't
execute: Permission denied

Any suggestions?

UPDATE:

I tried

ls -l

and this is the result

-rwxrwxrwx u0_a54   u0_a54    1620988 2016-12-14 13:59 execFile

is the problem in the user?

0

There are 0 answers