linux执行脚本文件时报错-bash: ./xxx.sh: Permission denied
解决方法:
[root@5fdfd survet-web]# ./prod_build.sh
-bash: ./prod_build.sh: Permission denied
.把/prod_build.sh改成bash prod_build.sh去执行
[root@5fdfd survet-web]# bash prod_build.sh
linux执行脚本文件时报错-bash: ./xxx.sh: Permission denied
解决方法:
[root@5fdfd survet-web]# ./prod_build.sh
-bash: ./prod_build.sh: Permission denied
.把/prod_build.sh改成bash prod_build.sh去执行
[root@5fdfd survet-web]# bash prod_build.sh
有建议,请留言!