I created a simple shell script and made it executable and tried to run it. But gives me permission denied .please help me

chmod +x test.sh
./test.sh—gives permission denied
I even tired to run as: sh test.sh—gives permission denied.

Could you please help me out?

As mentioned on our FAQ, pls run it as “sh test.sh”