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 users


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, Yves-Marie Brault a écrit :
> 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 have
> only 444 rights on these files, which causes FileNotFound errors.
>
> Is there a mean for Tomcat to compile and write all files with the same
> user that have launched it?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

--
David Delbecq
Royal Meteorological Institute of Belgium


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to