User forums > Help
How to run a program as root user in code blocks
(1/1)
wwwnuwan:
Hi All,
I am developing some message multi casting application in code::blocks.
when i run the program being in code::blocks it returns "Permission Denied" message at a particular method call as the programs is not taken to run as root.
indeed I have installed code::blocks as a root user.
btw when i run the program using console with sudo command it works find.
please help me to overcome this problem.
thank you.
Jenna:
Please search before you post.
This question has been asked multiple times.
Searching for root gives you some possible solutions.
Nevertheless, the question is not related to C::B, but to the OS you use (most likely linux) and therefore violating our forum rules.
Topic locked !
By the way, if you have C::B related question in future, it would be helpful to know which OS (and version of it) you are on and which version of C::B you use.
Navigation
[0] Message Index
Go to full version