红联Linux门户
Linux帮助

linux下执行.sh文件总是提示permission denied

发布时间:2015-11-18 15:36:15来源:linux网站作者:hsany330

如果你是root登陆的话(不是的话,切换到root用户,对*.sh赋可执行的权限)


chmod 777 *.sh

or

chmod +x  *.sh


然后运行就OK了。


linux下执行.sh文件的方法和语法:http://www.linuxdiyf.com/linux/13698.html

Linux下执行.sh文件提示No such file or directory:http://www.linuxdiyf.com/linux/6017.html