bash: ./main: Permission denied code example
Example: permission denied bash
chmod -R +x folder/*
# give execution permission for all scripts in the directory
chmod -R +x folder/*
# give execution permission for all scripts in the directory