tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Diggory <>
Subject chown issues in /etc/init.d/tomcat4
Date Fri, 03 May 2002 20:14:55 GMT

I noticed a problem with /etc/init.d/tomcat4 script and CATALINA_TMPDIR...

I've been testing out the CATALINA_TMPDIR setting in this script and it 
appears very bad to have this set outside of the /var/tomcat4 directory 
because you "chown" the CATALINA_TMPDIR directory to tomcat user:group.

For example: If I set CATALINA_TMPDIR to /tmp instead of 
/var/tomcat4/temp now my /tmp is chowned to tomcat4 (which really sucks).

I issue as well applies to any other case where a directory is set which 
may be used by other programs/users. For example if I decided to send my 
logs to /var/log instead of /var/tomcat4/log and CATALINA_LOG got 
chowned, then my logging would be really screwed up. Luckly, I didn't 
chown it.

-Mark Diggory

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message