终端错误:zsh:权限被拒绝:./startup.sh
问题描述:
我正在运行命令./startup.sh nginx:start
,并且收到此错误消息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?
答
请确保为其授予执行权限.
Be sure to give it the execution permission.
cd ~/the/script/folder
chmod +x ./startup.sh