You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Leonard Sitongia <si...@ucar.edu> on 2002/11/18 18:47:39 UTC

How to set log file permissions?

Hello,

I'm running Tomcat 4.1.14 (not 4.1.12 due to the SSL problem there), although 
I don't know if this question is specific to that release.  It's running on 
Sun Solaris.

How do I control the Unix file permissions that are set for the log files that 
are created by Tomcat?  They end up mode 600.  I would like them to be 644 so 
that developers can read the log files.

I've searched all over the web, and read documentation about Tomcat.  I don't 
think it would be java.io.FilePermission, which I think is for the apps 
running within Tomcat.  Am I wrong about that?  I don't see configurables for 
the Logger or AccessLogValve for setting this.

Thank you for your help!
-- 
==Leonard E. Sitongia           
  Visualization and Enabling Technologies / Scientific Computing Division
  National Center for Atmospheric Research
  P.O. Box 3000 Boulder CO 80307  USA
  sitongia@ucar.edu    voice: (303)497-2454   fax: (303)497-1829


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: How to set log file permissions?

Posted by Leonard Sitongia <si...@ucar.edu>.
On Tuesday 19 November 2002 09:58 am, Leonard Sitongia wrote:
> Am I missing something obvious here?  Is it not possible to set the
> permissions?

I think the answer here is "yes", I'm missing something obvious.  Just dawned 
on me that it must be the umask setting the permissions.  Sorry to waste 
bandwidth.
-- 
==Leonard E. Sitongia           
  Visualization and Enabling Technologies / Scientific Computing Division
  National Center for Atmospheric Research
  P.O. Box 3000 Boulder CO 80307  USA
  sitongia@ucar.edu    voice: (303)497-2454   fax: (303)497-1829


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: How to set log file permissions?

Posted by Leonard Sitongia <si...@ucar.edu>.
On Monday 18 November 2002 10:47 am, Leonard Sitongia wrote:
> How do I control the Unix file permissions that are set for the log files
> that are created by Tomcat?  They end up mode 600.  I would like them to be
> 644 so that developers can read the log files.

Hello again,

Am I missing something obvious here?  Is it not possible to set the 
permissions?  I thought I remembered the perms being 644 when I've run 
before, so maybe this is a change since 4.1.12?

Thank you for any help you can give me.
-- 
==Leonard E. Sitongia           
  Visualization and Enabling Technologies / Scientific Computing Division
  National Center for Atmospheric Research
  P.O. Box 3000 Boulder CO 80307  USA
  sitongia@ucar.edu    voice: (303)497-2454   fax: (303)497-1829


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>