Bug 711098

Summary: /var/lib/tomcat6/webapps permissions wrong
Product: [Fedora] Fedora Reporter: Jesus M. Rodriguez <jesusr>
Component: tomcat6Assignee: David Knox <dknox>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: high    
Version: 15CC: dknox, dwalluck, jclere, sochotni, SpikeFedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-06 15:21:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jesus M. Rodriguez 2011-06-06 14:32:23 UTC
Description of problem:
On a fresh install of Fedora 15, the permissions of /var/lib/tomcat6/webapps
are incorrect, it is marked as 745 which means tomcat user can't open that directory:

$ ll /var/lib/tomcat6/
total 4.0K
drwxrw-r-x. 2 root tomcat 4.0K Mar 25 15:11 webapps/


Version-Release number of selected component (if applicable):
$ rpm -qa | grep tomcat6
tomcat6-servlet-2.5-api-6.0.30-6.fc15.noarch
tomcat6-jsp-2.1-api-6.0.30-6.fc15.noarch
tomcat6-6.0.30-6.fc15.noarch
tomcat6-el-2.1-api-6.0.30-6.fc15.noarch
tomcat6-lib-6.0.30-6.fc15.noarch


How reproducible:

Steps to Reproduce:
1. Install tomcat6 on Fedora 16
2. Then ls -l /var/lib/tomcat6/
3. Observe permissions are incorrect.
  
Actual results:
drwxrw-r-x

Expected results:
drwxrwxr-x (775)

Additional info:

This also happens when on an upgrade as well.

Comment 1 David Knox 2011-06-06 15:21:31 UTC
This is fixed in tomcat6-6.0.32-2.fc15.noarch available from koji.