Terminal error: zsh: permission denied: ./startup.sh
问题 I am running a command ./startup.sh nginx:start and I am getting this error message zsh: permission denied: ./startup.sh why could this be happening? 回答1: Be sure to give it the execution permission. cd ~/the/script/folder chmod +x ./startup.sh 回答2: Alternatively you can use bash: bash startup.sh Then you don't need execution permission. In MacOS Catalina, Apple has replaced bash with zsh as default shell. This can mean, that they intend to remove bash in the future, so this might not be an