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

On Wed, Feb 28, 2024 at 4:00 AM D.T. via Users <users@lists.geany.org> wrote:
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.


to the build commands, and this worked.
(I thought for sure it would raise permission issues)
Thank you for entertaining my query.

--
Eric Lovejoy
Bangor Makerspace Outreach liaison.


Bangor Makerspace
34 Freedom Parkway
Hermon, Me, 04401
makerspacebangor@gmail.com
Phone: (207)-401-5878
Make.Break.Learn.Fix.Repeat
https://bangormakerspace.org
_______________________________________________
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-leave@lists.geany.org

_______________________________________________
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-leave@lists.geany.org


--
Eric Lovejoy
Bangor Makerspace Outreach liaison.


Bangor Makerspace
34 Freedom Parkway
Hermon, Me, 04401
makerspacebangor@gmail.com
Phone: (207)-401-5878
Make.Break.Learn.Fix.Repeat
https://bangormakerspace.org