Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Changing tomcat's group

Aria Bamdad

2006-04-27

Replies:

Hi,

I have several applications running in different directories. Each
application is owned by a different linux owner/group. In order for
Tomcat to be able to read these files to serve them, the Tomcat has
as it's secondary groups, the group names of each application.

The problem I am having is that when any of the applications create
a file, the file created has the owner/group tomcat:tomcat which
prevents the application owner from accessing the file directly
(as a logged in linux user).

How do others address this problem? Is there a way to have Tomcat
dynamically switch 'group' before serving somthing from each application?

Thanks in advance.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.