Re: Logfile permissions

From: Jasen Betts <jasen(at)xnet(dot)co(dot)nz>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Logfile permissions
Date: 2009-02-20 08:43:17
Message-ID: gnlqf5$a46$1@reversiblemaps.ath.cx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2009-02-10, Thomas Guettler <hv(at)tbz-pariv(dot)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)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jasen Betts 2009-02-20 08:57:16 Re: password for postgres
Previous Message Mike Christensen 2009-02-20 08:34:20 Re: Question about functions that return a set of records