title: Getting permission Denied Error when trying to execute my c code on git bash
body: <p>I'm not being able to run my C program from the Git-bash terminal on my Windows machine. My code is compiling fine. The problem is just while running it. The command I'm using to compile my code is:
  gcc problem1.c</p>
  
  <p>And the command that I'm giving for running the executable is ./a.exe</p>
  
  <p>The error that I'm getting is this:
  bash: ./a.exe: Permission Denied</p>
  
  <p>This problem has only recently cropped up. I've been compiling and running programs with git-bash for a long time and never faced this problem. A few days back, I enabled the Windows Subsystem for Linux on my Machine and installed the Ubuntu distribution. I don't know if that has something to do with this. I'm facing the same problem with CMD as well. CMD throws an access denied message when I try to run the code. Thanks in advance.</p>