Keyboard bindng not working

Hi,
I used following script with keybinding super+s-
https://github.com/scott-m-willett/qvm-screenshot/blob/master/qvm-screenshot.sh
But when I press keys
Window open saying Failed to launch shortcut failed to execute child process permission denied
what is the issue here?

Can you run the script from shell, instead of using a keyboard shortcut?

No, it says permission denied.
whether i created script as root or as user dosent’ matter.
I am not very well versed in linux scripting. Kinda newbie

Everything seems to be fine with the script. You can try executing the lines one by one to find out which one is faulty.

Edit: I think the shell should write which line have led to an exception as is.

Hi, try running this in a terminal after cd’ing to the directory that has the script:

chmod u+x <name of script>

Then try running the script again.

It says chmod changing permission operation not permitted

One more thing VM into which I am copying screenshot is based on kicksecure. but it shouldn’t matter as execution of script is faulty.

What are the permissions and ownership of the script? What’s the output of ls -l on the script? It’d be a little more helpful to forum troubleshooting to provide the transcript of the terminal output vs just a summary.