Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 3

Permission Denied "exec"

Solved! Go to Solution.

I have recently created an action which utilises Join to send notification to devices. The action repository is based off Pushover which has some values changed.

However, when using my action, I have this error which doesn't seem to occur in the Pushover action.


Sample run (Pushover only: Pass)


Sample run (Join and Pushover - failed):



Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: \"/\": permission denied": unknown


I am kind of confused as to why is it happening as it runs off the exact same Dockerfile. 

I apologise for being new to this. I've tried changing the image in the Dockerfile but to no avail.

Thank you so much.

2 Replies
GitHub Staff
Message 2 of 3

Re: Permission Denied "exec"

The runner is trying to run your as a script, but it looks like your is missing the execute bit.  You'll need to add it to that file in your action's repository.


On Linux or macOS, run:


chmod +x
git add
git commit


On Windows, run:



git add --chmod=+x --
git commit



And then push the changes back up.

Copilot Lvl 2
Message 3 of 3

Re: Permission Denied "exec"

Ran the command and it's now working as expected. Thank you so much for your help. I will definitely read up more about the additional paramters for the `git add` command as this is the first time I've seen the argument used. Thank you once again.