Error when starting the script: -bash: ./startup.sh: Permission denied

Cause Analysis:

This is because the user does not have permission, which makes it impossible to execute. Use the command chmod to modify the .sh permissions in the directory.

chmod u+x *.sh


#  这里的u 这里指文件所有者
# +x 添加可执行权限
# *.sh表示所有的sh文件。

 

Guess you like

Origin blog.csdn.net/weixin_38664232/article/details/108469731
Recommended