Hi,
I'm working on a Mandrake 10.1. I launch Tomcat 5.5.9 with an user called
gama to which belong all files in the Tomcat home directory and has been
granted 777 rights on it. However, when I launch my webapp, Tomcat writes
some files in the TOMCAT_HOME/work/ directory with the user root and
tomcat does not switch user, it runs as the user who ran bin/startup.sh
So tomcat will indeed attempt to write file as the user who ran it. Don't
forget only way for an application to switch user at runtime is to have it
setuid root, which is not the case of tomcat.
Le Lundi 30 Mai 2005 13:49,
Ok, thank you very much.
Actually, I used to launch Tomcat with bin/catalina.sh start, which seemed
to cause the problem.
-Message d'origine-
De : delbd [mailto:[EMAIL PROTECTED]
Envoyé : lundi 30 mai 2005 13:56
À : Tomcat Users List
Objet : Re: JSP compiled files created with different