How to fix shell script permission denied error in Linux
When attempting to run applications in Linux, one of the most typical issues that arise is the "bash:./program name: permission denied error." This issue happens most frequently when the script you are attempting to run does not have the appropriate execute permissions.
Source: FOSS Linux