Search code examples
clinuxgcccodeblockspermission-denied

code blocks not compiling empty c file in linux lite


I am using linux Lite. I have installed code Blocks. When i am creating any new project then it is working correctly. it compiling codes. But When any empty c file is creating and trying to compile then it is not working.Showing message that permission denied. I have checked the compiler setting for empty file. it is GNU GCC Compiler. How can i solve this?


Solution

  • It would be happen due to root access. run code-blocks as root user and try it would be work.