On Thu, Apr 27, 2006 at 04:55:40PM -0400, Aria Bamdad wrote: > 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?
If the files are in separate directories, it might work to just make sure the directory is owned by the appropriate group. Under NetBSD that seems to ensure that any files created are owned appropriately, but I'm not sure how it works under linux. You might need to do a "chmod g+s" on the directory. eric --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]