LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   'Permission denied' while running C programs on MS Visual Studio Code in Debian x64 Stable. (https://www.linuxquestions.org/questions/linux-software-2/permission-denied-while-running-c-programs-on-ms-visual-studio-code-in-debian-x64-stable-4175650317/)

tuckthetux 03-16-2019 09:43 PM

'Permission denied' while running C programs on MS Visual Studio Code in Debian x64 Stable.
 
Hello!
I am a noob in Linux, learning C programming. So, I started out searching for an IDE and tried out the popular (Eclipse, Netbeans, Kdevelop, Monodevelop, Anjuta). Some of them, I couldn't start building project, Monodevelop crashed etc etc. I liked Visual Code and it started fine, so built the basic 'Hello world!' program. Lo and behold! 'Permission denied'. Here's the output

Code:

$ /home/user/Hello.c
bash: /home/user/Hello.c: Permission denied

What should I do to get my codes running?
Thank you!

äxl 03-16-2019 09:56 PM

Code:

$ chmod -x /home/user/Hello.c
This is an answer to the error message but most likely not to your problem. As you need to make/compile your code.
What's your code and the source of it?


All times are GMT -5. The time now is 07:15 AM.