Linux permissions: Tips -bash: ./startup.sh: Permission denied solution

Linux permissions: Tips -bash: ./startup.sh: Permission denied solution

Start Tomcat on Linux, the results pop up: -bash: ./startup.sh: Permission denied a prompt.

This is because the user does not have permission, and preventing this. .Sh command chmod modify the permissions in the bin directory on it.

chmod u+x *.sh

u here here refers to the file owner, + x add executable permissions, *. sh sh represents all of the files.

Guess you like

Origin www.cnblogs.com/lizm166/p/12030335.html