Closed areebakhokhar closed 2 years ago
This is a runtime error
Run ls -lah
in that directory and post the output.
The most likely problem is that that the mode needs to be set to execute this script.
If the output from ls -lah
doesn't have any x's in the leftmost column, then you can run: chmod +x
and then after that you'll be able to run ./install_check.sh
and it will run.
I don't see any x's, but when I run chmod +x it still says permission denied. also when i run ls -lah the output doesn't change from what it was originally.
chmod +x ./install_check.sh
I should have specified that you have to run it on the file you are trying to give execute mode to. It should have output an error if you ran it without a target, something like this:
chmod: missing operand after ‘+x’
Try 'chmod --help' for more information.
this worked, thank you!
When I try to run the script: ./install_check.sh I keep getting permission denied. I'm not sure why.
Thanks!