Bug 655191

Summary: improper directory permissions for the tomcat6 package
Product: Red Hat Enterprise Linux 6 Reporter: Jim Perrin <james.l.perrin>
Component: tomcat6Assignee: David Knox <dknox>
Status: CLOSED DUPLICATE QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: azelinka, jclere
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: 6.0.24-17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-06 16:38:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jim Perrin 2010-11-19 20:22:11 UTC
Description of problem:
Basically bug 605335 applies to the tomcat6 included in rhel6 as well.

Version-Release number of selected component (if applicable):
tomcat6-6.0.24-15.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. yum install tomcat6
2. service tomcat6 start
3. less /var/log/tomcat6/catalina.out
  
Actual results:
a large mess of log errors similar to:


java.util.logging.ErrorManager: 4
java.io.FileNotFoundException: /usr/share/tomcat6/logs/catalina.2010-11-19.log (Permission denied)
        at java.io.FileOutputStream.openAppend(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
        at org.apache.juli.FileHandler.openWriter(FileHandler.java:304)
        at org.apache.juli.FileHandler.<init>(FileHandler.java:63)
        at org.apache.juli.FileHandler.<init>(FileHandler.java:54)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)


Expected results:
A clean install should have a reasonably clean startup log with no errors. 

Additional info:
https://bugzilla.redhat.com/show_bug.cgi?id=605335