I cannot execute any files that I have already created nor new ones. I keep receiving the message of "Permission Denied". Has anyone run into this problem/can some one help?

enter image description here

  • May be this could help link
    – sinister
    Aug 9, 2014 at 3:18
  • How was the practice file created? There doesn't seem to be any source code for it which is why make cannot do anything. What happens when you run make hello followed by ./hello? Aug 9, 2014 at 21:04

2 Answers 2


You wrongly named your file, before issuing make command with your file you named practice, rename it to practice.c then compile and run it. Here are the steps you need to follow

  1. rename the file using the command mv practice practice.c

  2. compile your program by issuing the command make practice

  3. finally run it by issuing the command ./practice in case it compiled without errors.


Try executing the following command in the terminal to change the permissions for filename

chmod 700 filename
  • Solved that problem! Thank you!
    – user10152
    Nov 9, 2015 at 20:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .