[Github-comments] [geany/geany] Run script permission denied (#2374)

elextr notifications at xxxxx
Sat Oct 19 23:55:45 UTC 2019


Ahh, bleeding edge distros, maybe something changed, although I'd expect a report from Arch first :) 

Clearly it works for most people since this is the first report.  I know several devs use debian but I don't know if they have upgraded to 10 yet, lets see what they say.

Note that here on Mint 19.1 Geany execute works, but `/bin/sh -c script` in the command line gets permission denied if the script does not have execute permission.  I would have said thats actually correct, its running as a _command_ (thats what -c says) not reading it as a script.  Running `/bin/sh script` works without execute permission since its reading it as a script not executing it, subtle but important difference.  

But why Geany works I don't know, but would speculate its to do with which of the 16 trillion<sup>[1]</sup> modes of bash gets used, non-interactive, non-login, run as sh etc etc.

[1] rough estimate

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2374#issuecomment-544206997
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20191019/5cd145f3/attachment.html>


More information about the Github-comments mailing list