That's one way and I've used that method successfully. The other is if the tomcat user simply needs read access to the files (not write access) just create a group that has both users and change the group perms on the directory
for example (assumes that web user is apache and tomcat user is tomcat) webgroup::60000:apache,tomcat chmod 750 directory chmod 640 file chgrp webgroup directory chgrp webgroup file I'm pretty confident that should work and your tomcat server will be able to read the doc root Hope that helps Jan-Michael ----- Original Message ----- From: "Randy Paries" <[EMAIL PROTECTED]> Date: Saturday, November 16, 2002 6:08 am Subject: Starting tomcat as user apache instead of root > Hello, > Currently I am starting tomcat as root. This is not the best thing to > say the least > Both tomcat and apache have to share files. (Actually I upload files > using both) > So I need to start tomcat as the user apache > > So how is this best way to do that? > > Should I do a su - apache -c $TOMCAT_HOME/bin/startup.sh > ? > > Thanks > > > -- > To unsubscribe, e-mail: <mailto:tomcat-user- > [EMAIL PROTECTED]>For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>