SORTED!
Thanks Alan. In the end I created a new user, and I'm running tomcat and my
java app with this new user.
Thanks again, you've been a great help.
Daniel
Alan Chaney wrote:
>
> Hi Daniel
>
> Really the issues are to do with the JVM and linux rather more than
> tomcat directly. I can
Hi Daniel
Really the issues are to do with the JVM and linux rather more than
tomcat directly. I can't claim to be a linux guru but you should look at
it in the following way Any application which runs on linux is 'owned'
by a user. There two classifications - 'system' users and 'normal'
user
Alan, this is very useful, thank you.
After a bit of Googling I decided to upgrade to Tomcat6 (apparently is has
less security ussies with Ubuntu). This means that the files/dirs are now
created (from the tomcat app) by 'root:root' (with the same permissions
described in my first post).
However,
This is really a linux permissions issue.
How are you starting tomcat? with the $TOMCAT_HOME/bin/startup.sh or
with jsvc or are you using an ubuntu startup script?
You don't say anything about the user who will run the java application.
Generally, the way to control the access permissions wit