What is the intention of running Tomcat as root... Once you run as root, there is nothing to change the permissions such as execution, log, and configuration files. However, if you log in to the root account and run it, there is a vulnerability to hacking! In order to simply service tomcat port 80, I think it is right to use the sudo command and give the authority to execute only tomcat script.
Try forcing permissions on the tomcat home directory
chown account name:group name /usr/local/apache-tomcat-6.0.18 -R
If you set the log setting below /var/, that's also...
chown account name:group name /var/admin/tomcat -R
Do it like this.
© 2024 OneMinuteCode. All rights reserved.