Why not make the user that Tomcat runs at a member of the group you need it
in?
Why do you need to change the group if it is set ahead of time?
Doug
- Original Message -
From: "QM" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Monday, April 18, 2005 9:25
On Mon, Apr 18, 2005 at 12:50:26PM -0400, Nick Johnson wrote:
: I know that jsvc will let you set the user id of the tomcat process,
: but will it also let you set the group id of the process?
Off the top of my head I don't know; but you can grep the source code
for "setgid()" (or even setegid())
How can you set that?
Would that allow files created or written to by tomcat to get
permissions I want ?
We are using servers with the tanuki java service wrapper. Hopefully it
can be done with that the same way...
Thanks a lot.
neil
-Original Message-
From: Nick Johnson [mailto:[EMA