permissions - What was the reason of "access denied" exception while executing Runtime.exec() on Android? -


i have native executables compiled android , located in /data/data/my.app.package believe app able execute executables there.

unfortunately runtime.exec() causes "access denied" exception. how can know object (path, file, etc) executable trying access to? app reads files in /data/data/my.app.package , write files there.

no debug messages in log, device rooted.

the problem unzipping using java zip api not save flags files not marked executables. used chmod 0755 (file) fix it


Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -