On Fri, Dec 02, 2005 at 23:30:21 +0100,
Dick Snippe <[EMAIL PROTECTED]> wrote:
>
> Using a log rotation program is possible (apache rotatelogs comes to mind),
> but that would require starting postgresql with something like
> postmaster | rotatelogs
> and just hope that rotetelogs doesn't
On Fri, Dec 02, 2005 at 12:59:17PM -0500, Bruce Momjian wrote:
> Dick Snippe wrote:
> > On Fri, Dec 02, 2005 at 12:30:17AM -0500, Tom Lane wrote:
> >
> > > "Dick Snippe" <[EMAIL PROTECTED]> writes:
> > > > setting umask 077 makes sense for the data files, but not per se for the
> > > > logfile.
>
On Fri, Dec 02, 2005 at 02:11:06PM -0600, Jim C. Nasby wrote:
> On Fri, Dec 02, 2005 at 12:59:17PM -0500, Bruce Momjian wrote:
> > Dick Snippe wrote:
> > > On Fri, Dec 02, 2005 at 12:30:17AM -0500, Tom Lane wrote:
> > >
> > > > "Dick Snippe" <[EMAIL PROTECTED]> writes:
> > > > > setting umask 077
On Fri, Dec 02, 2005 at 12:59:17PM -0500, Bruce Momjian wrote:
> Dick Snippe wrote:
> > On Fri, Dec 02, 2005 at 12:30:17AM -0500, Tom Lane wrote:
> >
> > > "Dick Snippe" <[EMAIL PROTECTED]> writes:
> > > > setting umask 077 makes sense for the data files, but not per se for the
> > > > logfile.
>
Dick Snippe wrote:
> On Fri, Dec 02, 2005 at 12:30:17AM -0500, Tom Lane wrote:
>
> > "Dick Snippe" <[EMAIL PROTECTED]> writes:
> > > setting umask 077 makes sense for the data files, but not per se for the
> > > logfile.
> >
> > The logfile typically contains data just as sensitive as the data fi
On Fri, Dec 02, 2005 at 12:30:17AM -0500, Tom Lane wrote:
> "Dick Snippe" <[EMAIL PROTECTED]> writes:
> > setting umask 077 makes sense for the data files, but not per se for the
> > logfile.
>
> The logfile typically contains data just as sensitive as the data files,
true.
> so I disagree.
we
"Dick Snippe" <[EMAIL PROTECTED]> writes:
> setting umask 077 makes sense for the data files, but not per se for the
> logfile.
The logfile typically contains data just as sensitive as the data files,
so I disagree.
regards, tom lane
---(end of bro
The following bug has been logged online:
Bug reference: 2088
Logged by: Dick Snippe
Email address: [EMAIL PROTECTED]
PostgreSQL version: 8.1.0
Operating system: Fedora Core 2
Description:logfiles only readable by instance owner
Details:
when redirect_stderr = true