Build a Build Script Permission Denied

Hi! I’ve just started the Build a Build Script Project for command line - https://www.codecademy.com/paths/web-development/tracks/learn-the-command-line/modules/bash-scripting/projects/bash-scripting-p

I saved the echo welcome message but when i tested the script in bash it says ‘permission denied’. Can anyone help? I am not sure why I received this message, is there something I am missing? here is a screenshot -

image

Thanks :wink:

Hello, I can confirm this is an issue right now. I completed this successfully a few weeks ago, but now running the same steps doesn’t work as instructed. This might be caused by the upcoming changes to the Learn the Command Line course that were announced.

You can get around it by giving the script execute permissions with chmod +x ./script.sh
Then you’ll be able to continue with the rest of the lesson.

image

3 Likes

That’s solved it. Thanks for your help! :slight_smile: