首页 > 代码库 > LINUX权限错误:-bash: ./startup.sh: Permission denied

LINUX权限错误:-bash: ./startup.sh: Permission denied

 LINUX权限-bash: ./startup.sh: Permission denied

 

执行./startup.sh,或者./shutdown.sh的时候,报:Permission denied,因为是执行tomcat时,用户无权限,导致出现以上错误。需要用命令:chmod 修改一下bin目录下的.sh权限。

 

具体操作如下:chmod u+x *.sh 

LINUX权限错误:-bash: ./startup.sh: Permission denied