<p>The "run" build commands don't work on my system.</p>
<p>the opened term said the run script was not executable.</p>
<p>Running the script manually (via <code>sh</code> as implemented in <code>build.c</code>) yields</p>
<pre><code>oskar@torres ~ % /bin/sh -c /tmp/geany_run_script_HVQX9Z.sh
/bin/sh: /tmp/geany_run_script_HVQX9Z.sh: Permission denied
</code></pre>
<p>Which make sense since the file is not marked as executable:</p>
<pre><code>oskar@torres ~ % ls -l /tmp/geany_run_script_HVQX9Z.sh
.rw-rw-r-- 256 oskar 19 Oct 19:23 /tmp/geany_run_script_HVQX9Z.sh
</code></pre>
<p>As can be seen in <code>build.c</code>, executable permissions are only set on apple platforms:</p>
<p><a href="https://github.com/geany/geany/blob/75def8a24eb2dab8d376ae051806128827d34fbe/src/build.c#L1172-L1184">https://github.com/geany/geany/blob/75def8a24eb2dab8d376ae051806128827d34fbe/src/build.c#L1172-L1184</a></p>
<p>I changed this in my PR <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="509164339" data-permission-text="Issue title is private" data-url="https://github.com/geany/geany/issues/2372" data-hovercard-type="pull_request" data-hovercard-url="/geany/geany/pull/2372/hovercard" href="https://github.com/geany/geany/pull/2372">#2372</a> which solves the problem for me. I'm not sure if i'm missing something here.</p>
<p>I don't think passing the script through <code>sh</code> circumvents the need for execution rights but i'm not an expert on unix permissions so maybe someone else knows why this was expected to work and/or works for other people?</p>
<p>Thanks!</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2374?email_source=notifications&email_token=AAIOWJ4POFVOGYG535HNYPTQPNDPDA5CNFSM4JCQ2A4KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HS6FO2A">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZYB5KBAWG4DXNZVADQPNDPDANCNFSM4JCQ2A4A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJYYPNDFXGQVPTVHLQDQPNDPDA5CNFSM4JCQ2A4KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HS6FO2A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2374?email_source=notifications\u0026email_token=AAIOWJ4POFVOGYG535HNYPTQPNDPDA5CNFSM4JCQ2A4KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HS6FO2A",
"url": "https://github.com/geany/geany/issues/2374?email_source=notifications\u0026email_token=AAIOWJ4POFVOGYG535HNYPTQPNDPDA5CNFSM4JCQ2A4KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HS6FO2A",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>