linux中为什么已经是root用户仍不能执行程序

.sh文件 ,获取root权限,提示Permission Denied。

这是因为文件本身没有可执行特性。

chmod +x a.sh
chmod 755 a.sh
posted @ 2016-10-26 12:58  加拿大小哥哥  阅读(639)  评论(0编辑  收藏  举报