Re: [BUGS] BUG #2088: logfiles only readable by instance owner

2005-12-03 Thread Bruno Wolff III
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

Re: [BUGS] BUG #2088: logfiles only readable by instance owner

2005-12-03 Thread Dick Snippe
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. >

Re: [BUGS] BUG #2088: logfiles only readable by instance owner

2005-12-03 Thread Dick Snippe
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

Re: [BUGS] BUG #2088: logfiles only readable by instance owner

2005-12-02 Thread Jim C. Nasby
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. >

Re: [BUGS] BUG #2088: logfiles only readable by instance owner

2005-12-02 Thread Bruce Momjian
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

Re: [BUGS] BUG #2088: logfiles only readable by instance owner

2005-12-02 Thread Dick Snippe
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

Re: [BUGS] BUG #2088: logfiles only readable by instance owner

2005-12-01 Thread Tom Lane
"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

[BUGS] BUG #2088: logfiles only readable by instance owner

2005-12-01 Thread Dick Snippe
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