My phone is a Galaxy S3, not rooted. I have "ES File Explorer" and "Terminal Emulator" installed.
I downloaded an Android build of 'wget', intending to execute it from the Terminal Emulator app. The file currently exists in
/storage/sdcard0/Download (which is an internal partition, not a physical SD card) as:
-rw-rw-r-- root sdcard_rw 241974 2016-03-11 wget
./wget gives Permission denied.
chmod o+x wget gives "Bad mode"; this is apparently because Android's
chmod only accepts octal digits;
chmod 665 wget gives "Operation not permitted". I can copy the file with "cp", so the filesystem is writable.
Other Q&A's here give several possible reasons for
chmod failing on Android. One is SD cards formatted with FAT which do not support permission bits; but as I say this is not actually an SD card. Another is the filesystem being mounted with "noexec". My Android/Linux knowledge is way too lacking to check such things.
Is Android blocking me from executing wget by design? Is there a way to execute it without rooting my phone?