Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 37523

Summary: Tomcat wrong permission on manager directory
Product: Gentoo Linux Reporter: Sebastian Davids <sdavids>
Component: [OLD] DevelopmentAssignee: Java team <java>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sebastian Davids 2004-01-07 14:09:45 UTC
Tomcat should be run as user "tomcat" but doing so prevents usage of HTML Manager.



Reproducible: Always
Steps to Reproduce:
Precondition tomcat not installed

emerge -u tomcat
su tomcat
/opt/tomcat/bin/startup.sh

open http://localhost:8080/manager/html/ in your browser

Select a WAR file in "Upload a WAR file to install" and try to upload it.
Actual Results:  
Tomcat will issue a warning:

FAIL - Install Upload Failed, Exception: Processing of multipart/form-data
request failed.
/opt/tomcat/work/Standalone/localhost/manager/upload_00000002.tmp (Keine
Berechtigung)

Expected Results:  
The WAR should have been uploaded

/opt/tomcat/work/Standalone/localhost/manager

Should have the user "tomcat" instead of root.
Comment 1 Sebastian Davids 2004-01-07 14:20:47 UTC
/opt/tomcat/work/Standalone/localhost has to be assigned to tomcat/tomcat also.

*** This bug has been marked as a duplicate of 37486 ***