Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94649 - Incorrect permissions for configuration files in www-servers/tomcat-5.0.27-r6
Summary: Incorrect permissions for configuration files in www-servers/tomcat-5.0.27-r6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-31 11:17 UTC by Alex Iribarren
Modified: 2005-09-21 16:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Iribarren 2005-05-31 11:18:28 UTC
I was trying to use Eclipse's WTP, which tries to read Tomcat's configuration
files in /etc/tomcat, but it wouldn't work because they are set as 400, owned by
tomcat:tomcat.

In order for this to work, at least /etc/tomcat/[catalina.policy, server.xml,
tomcat-users.xml, web.xml] must be set as 440. Of course, the user who is going
to be using WTP must belong to the group tomcat.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2005-09-21 16:46:32 UTC
pena tomcat-5 # ls -al
total 9
drwxr-x---   3 tomcat tomcat  104 Sep 19 22:09 .
drwxr-xr-x  75 root   root   4968 Sep 22 02:27 ..
drwxr-x---   3 tomcat tomcat  448 Sep 22 02:34 default
-rwxr-x---   1 tomcat tomcat  401 Sep 22 02:27 log4j.properties

Already fixed in the latest ebuild it seems. Hopefully we can make it stable
enough to replace the current stable ebuild in the near future.