0

背景故事:我正在使用 tomcat7 为带有 Ionic 的 API 托管 Java Spring 代码,但我们发现 file:// 被 tomcat7 服务阻止,并且 Ionic 发送了 file:// 的来源。这是 7.0.71 中修复的错误。Apt-Get Install tomcat7 仅在 Ubuntu 14.04 上安装 tomcat7=7.0.52,因此我必须使用此处的说明通过 /opt/tomcat7 文件夹中的 zip 文件手动安装 7.0.71:http: //tecadmin.net/install-tomcat -7-on-ubuntu/#

所以现在您知道为什么我在 /etc/default 中没有用户,我需要 tomcat7 拥有一个文件夹,因为我只希望 tomcat7 拥有存储到该文件夹​​的权限。我该如何做到这一点?

4

0 回答 0