On Wed, 2024-02-28 at 02:32 -0500, Bangor Makerspace via Users wrote:
I can't believe I figured it out.
I added sudo chown root:root "%e" && sudo chmod 4755 "%e" && "./%e"
>>This
will only work if there is a way to enter the password - either you
execute the whole thing in a terminal, or you configure sudo to use a
graphical password dialog.
that's what I thought would happen, but this is not the case. It works quite well, and never asks for permission.
I rebooted, wrote a new program, tried it on another computer (RPI). works every time.
(no Im not running geany as root)
geany 1.37 & 1.38