Subject: bug#61385: 30.0.50; android eshell cannot executable file under ~/ directory

From: Po Lu <[email-masked]>
Date: Fri, 10 Feb 2023 10:12:09 +0800

xiliuya <[email-masked]> writes:

> --text follows this line--
>
> My operation is as follows:
> 1. cp /system/bin/sh .
> 2. chmod 755 sh
> 3. ./sh
> 4. libandroid-emacs.so: /data/data/org.gnu.emacs/files/sh: Permission
> denied

This is described under (emacs)Android Environment.  On Android, system
security policy prevents launching executables from read-write
directories.

Free versions of Android allow you to obtain access as the super user.
In that case, run:

  C-x C-f /su:/data/data/org.gnu.emacs/files RET

and run the binary as the super user instead.