http://bugzilla.novell.com/show_bug.cgi?id=625415 http://bugzilla.novell.com/show_bug.cgi?id=625415#c0 Summary: Tomcat6 does not have permissions to its own directories Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: i686 OS/Version: openSUSE 11.3 Status: NEW Severity: Minor Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: doug@charvolant.org QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.6) Gecko/20100626 SUSE/3.6.6-1.2 Firefox/3.6.6 The default install of tomcat6 and the admin-webapps leaves the admin webapps unable to run. There appears to be a general set of permissions problems with the tomcat directory structure, since the server runs with user/group tomcat but there are not group write permissions on things like /var/cache/tomcat6, /var/log/tomcat6 /srv/tomcat6/webapps etc. I also have a suspicion that /etc/tomcat6/Catalina is supposed to be a symbolic link to /var/cache/tomcat6/Catalina since the server attempts to write there. Reproducible: Always Steps to Reproduce: 1. Install tomcat 6 2. Add the tomcat user with role manager to /etc/tomcat6/tomcat-users.xml 3. Run /etc/init.d/tomcat6 start 4. Open a web browser and attempt to go to http://localhost:8080/manager/status Actual Results: Error message from tomcat saying /manager/status not found. /var/log/tomcat6/catalina.out contains a number of errors of the form java.io.FileNotFoundException: /usr/share/tomcat6/logs/catalina.2010-07-26.log (Permission denied) java.io.FileNotFoundException: /etc/tomcat6/Catalina/localhost/manager.xml (Permission denied) java.io.FileNotFoundException: /usr/share/tomcat6/work/Catalina/localhost/docs/SESSIONS.ser (No such file or directory) etc. Expected Results: Status display screen. The work-around is quite simple. 1. Add g+w to the various tomcat /var and /srv directories 2. Remove /etc/tomcat6/Catalina and replace it with a symbolic link to /var/cahce/tomcat6/Catalina -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.