tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Servlets being run as root
Date Mon, 04 Sep 2000 11:52:53 GMT
I have the following problem:

The servlets are running with root access, here is the info from SuperSnoop 
to show it: 
user.home: /root 
user.dir: /opt/tomcat/conf 

Also, I have TryFile servlet, which all it does is writes file named 
"dogetFile" to "user.dir" directory.  Sure enough, it created the file in 
/opt/tomcat/conf.  Please remove this root privilege.  Also, it would be nice 
to have user.dir to be set to /home/sites/site106, if possible. 

In the meantime, I promise not to use this root privilege in any way, shape 
or form. 

Please let me know if anybody can help.


View raw message