<div dir="ltr">I did the following experiment with GnuRoot. I wrote the standard hello.c program, then compiled it with gcc. An ls -l shows a.out with permissions 660. Then I did chmod +x a.out, and the permissions were unchanged. When I tried to run ./a.out, I got a permission denied error.<div><br></div><div>Ouch!</div><div><br></div><div>Then I did the same experiment with Termux. Gcc was smart enough to set the execute bit itself, with permissions 700. No need for chmod. Running the program produced the proper output.</div><div><br></div><div>Hello, world!</div><div><br></div><div>I'll try again later to compile Gambit on Termux, and let you know how I get along.</div><div><br></div><div>Phil</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 11, 2017 at 9:56 AM, Hendrik Boom <span dir="ltr"><<a href="mailto:hendrik@topoi.pooq.com" target="_blank">hendrik@topoi.pooq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, May 11, 2017 at 08:29:14AM -0500, Phil Bewig wrote:<br>
> I had never heard of GnuRoot before this thread, and I was already annoyed<br>
> at the non-standard paths in Termux, so I decided to look at GnuRoot.<br>
><br>
> I downloaded GnuRoot at lunch yesterday, then discovered I needed GnuRoot<br>
> Wheezy as well, then when I ran that it told me those two options were<br>
> obsolete and I needed GnuRoot Debian, so I uninstalled the other two and<br>
> downloaded that. Looked fine. I then did 'apt-get update' and got an error<br>
> message. It turns out that my employer blocks the Debian sites, for some<br>
> reason.<br>
><br>
> So yesterday evening I did 'apt-get update' and 'apt-get upgrade'; that<br>
> took a while. Then I tried to wget the Gambit tgz file, but discovered<br>
> neither wget nor curl is automatic with GnuRoot Debian, so I fetched both.<br>
><br>
> Then I downloaded Gambit, untarred, and did './configure'. But configure<br>
> wasn't executable, so it didn't work. I said 'chmod 777 configure' but the<br>
> execute bit still wasn't set. Searching Google I discovered that error<br>
> occurs because the sd card is mounted noexec, but I don't have an sdcard,<br>
> so I'm baffled.<br>
<br>
</span>sdcard is part of android.  In the past it was an actual sd card, but<br>
now it is an area of the disk where the user can put files.  Refussal to<br>
execute anything there is in order to keep the user from mssing with<br>
anything that's really android.<br>
<br>
You are likely hitting a deliberate android limitation that<br>
gnuroot is unable to get around.<br>
<br>
-- hendrik<br>
______________________________<wbr>_________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" rel="noreferrer" target="_blank">https://webmail.iro.umontreal.<wbr>ca/mailman/listinfo/gambit-<wbr>list</a><br>
</blockquote></div><br></div>