Debug Linux process with suid

I am developing an application as root. I am using Code: Blocks launched with the command sudo codeblocks

. The problem is that developing in root :: Blocks results in CB source and config files created with root ownership.

I thought I could use setuid for executable code blocks, but it is not allowed with GTK apps.

Are there other ways to improve the effective UID of programs when debugging?

0


a source to share


1 answer


I think the easiest solution for debugging programs that require root privileges is to run the debugger as root.



+1


a source







All Articles