On Tue, Mar 29, 2005 at 09:31:42PM -0500, James T. Studebaker wrote:
: My servlets create data files.  The webapp is running on a Linux system.  The
: app user is jims and my group is jims.  I have to set permissions to 777 in
: order for tomcat to read data files.  When data files are created, the user is
: tomcat and the group is nobody.

This last sentence would imply that Tomcat is running as tomcat:nobody,
and not as jims:jims as you suspect.  Run 'ps' to confirm.  Also, check
how you start Tomcat and see whether a user switch occurs there.


: Is the a configuration parameter that will result in data
: files created with a user of jims and a group of jims.  Is there configuration
: parameters that result in tomcat being able to read data files with the user
: jims and the group jims.

This wouldn't be set in Tomcat, but in the JVM itself.  In turn, (IIRC)
the base JVM has no way of setting ownership/permissions.

-QM


-- 

software   -- http://www.brandxdev.net/
tech news  -- http://www.RoarNetworX.com/
code scan  -- http://www.JxRef.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to