Re: Logfile permissions - Mailing list pgsql-general

From Jasen Betts
Subject Re: Logfile permissions
Date
Msg-id gnlqf5$a46$1@reversiblemaps.ath.cx
Whole thread Raw
In response to Logfile permissions  (Thomas Guettler <hv@tbz-pariv.de>)
List pgsql-general
On 2009-02-10, Thomas Guettler <hv@tbz-pariv.de> wrote:
> Hi,
>
> my logfiles all have this permission:
>
> -rw------- 1 postgres postgres    14841 10. Feb 08:52
> postgresql-2009-02-10_000000.log
>
> Is it possible that postgres creates group readable files?

you could patch and recompile the source.

But it may be easier to create the logfile with the permissions you
want before starting postgres. (you can do that in the init.d script
that launches postgres)

pgsql-general by date:

Previous
From: Mike Christensen
Date:
Subject: Re: Question about functions that return a set of records
Next
From: Jasen Betts
Date:
Subject: Re: password for postgres