So I compiled a simple cpp program using clang++ with termux on android, but I can't run the program, I get the following error:
$ ./execname
-bash: . /execname: Permission denied
Are you running on shared storage (under /sdcard
)? The file system there does not support executable permissions.
Try compiling and running the file directly in the $HOME
dir!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With