0

Backstory: I'm using tomcat7 to host Java Spring code for an API with Ionic but we discovered that file:// gets blocked by tomcat7 service and Ionic sends an origin of file://. This is a bug that was fixed in 7.0.71. Apt-Get Install tomcat7 only installs tomcat7=7.0.52 on Ubuntu 14.04 so I had to manually install 7.0.71 through a zip file in /opt/tomcat7 folder using the instructions here: http://tecadmin.net/install-tomcat-7-on-ubuntu/#

So now that you know why I don't have a user in /etc/default, I need tomcat7 to own a folder since I only want tomcat7 to have the permissions to store to that folder. How do I make this happen?

user3654055
  • 178
  • 14
  • with [chown](https://wiki.ubuntuusers.de/chown/) on the server – thopaw Feb 18 '17 at 07:54
  • I tried chown but it tells me there is no user "tomcat7". Unless you mean chown on apache/nginx kind of thing? – user3654055 Feb 18 '17 at 12:31
  • Then you have to create the user wit [adduser](https://wiki.ubuntuusers.de/adduser/). You can create the user as system user which is the better choice for users running a service – thopaw Feb 18 '17 at 12:33

0 Answers0