Re: log files and permissions - Mailing list pgsql-hackers

From Martin Pihlak
Subject Re: log files and permissions
Date
Msg-id 4C2CC932.9080303@gmail.com
Whole thread Raw
In response to Re: log files and permissions  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: log files and permissions
List pgsql-hackers
Tom Lane wrote:
> It doesn't appear to me that this helps unless you are willing to make
> the containing director(ies) group-readable/executable as well, which is
> something we've resisted doing.
> 

The log can be moved outside of data directory by setting "log_directory"
to an absolute path. Then the permissions for the log directory can be arbitrary
as the postmaster is only strict about permissions on data directory.

regards,
Martin


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: log files and permissions
Next
From: Stephen Frost
Date:
Subject: Re: log files and permissions