LINUX 下
jinesc@jinesc-PC:/data/home/jinesc/java/tomcat9/bin$ cd .. jinesc@jinesc-PC:/data/home/jinesc/java/tomcat9$ cd conf jinesc@jinesc-PC:/data/home/jinesc/java/tomcat9/conf$ sudo chmod 777 * 请输入密码: 验证成功 jinesc@jinesc-PC:/data/home/jinesc/java/tomcat9/conf$ ls -l 总用量 236 drwxrwxrwx 3 root root 4096 11月 6 15:49 Catalina -rwxrwxrwx 1 jinesc jinesc 13052 9月 28 21:51 catalina.policy -rwxrwxrwx 1 jinesc jinesc 7276 9月 28 21:51 catalina.properties -rwxrwxrwx 1 jinesc jinesc 1400 9月 28 21:51 context.xml -rwxrwxrwx 1 jinesc jinesc 1149 9月 28 21:51 jaspic-providers.xml -rwxrwxrwx 1 jinesc jinesc 2313 9月 28 21:51 jaspic-providers.xsd -rwxrwxrwx 1 jinesc jinesc 4144 9月 28 21:51 logging.properties -rwxrwxrwx 1 jinesc jinesc 7589 9月 28 21:51 server.xml -rwxrwxrwx 1 jinesc jinesc 2756 9月 28 21:51 tomcat-users.xml -rwxrwxrwx 1 jinesc jinesc 2558 9月 28 21:51 tomcat-users.xsd -rwxrwxrwx 1 jinesc jinesc 172359 9月 28 21:51 web.xml
光这样还不够 还有
Catalina 文件夹里面有个 localhost 也要给予权限。
原贴 https://blog.csdn.net/weixin_38500325/article/details/82728577 自己改编了一下
发表评论