I am using pigpio to build C programs for raspberry pi. Annoyingly,
every time I recompile, I have to to do:
sudo chown root:root prog_name
sudo chmod 4755 prog_name

Is there anything I can do with the build macros or something to perform these actions automatically?


--

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