Skip site navigation (1) Skip section navigation (2)

Re: Log file permissions?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Vivek Khera <vivek(at)khera(dot)org>
Cc: PGSQL Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Log file permissions?
Date: 2008-01-31 20:39:25
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
Vivek Khera wrote:
> On Jan 31, 2008, at 10:21 AM, Alvaro Herrera wrote:
>> I think you should be able to chmod the files after they have been
>> created.  The postmaster changes its umask to 0077, so no file is
>> group-readable.  I don't think is configurable either.
> just move the logs into a subdir which has permissions applied to it,  
> then not worry about the files inside, since nobody can break through  
> the directory anyhow.

That doesn't work because the files won't be readable by anyone but the
postgres user.

Alvaro Herrera                      
The PostgreSQL Company - Command Prompt, Inc.

In response to


pgsql-general by date

Next:From: Willem BuitendykDate: 2008-01-31 20:48:06
Subject: Re: Oracle Analytical Functions
Previous:From: Robert TreatDate: 2008-01-31 20:24:43
Subject: Re: postgresql book - practical or something newer?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group