Linux 操作**.sh文件时 Permission denied 解决

1、Linux 操作**.sh文件时 Permission denied表示对该文件的权限不够。


2、比如说,在部署tars服务时,需要用到create_tars_server.sh,但是出现了

-bash: /usr/local/tars/cpp/script/create_tars_server.sh: Permission denied


3、那么就需要chmod u+x /usr/local/tars/cpp/script/create_tars_server.sh

猜你喜欢

转载自blog.csdn.net/u014520797/article/details/80382792