Re: help for:FATAL 1: configuration file `postgresql.conf' has wrong permissions - Mailing list pgsql-bugs

From Tom Lane
Subject Re: help for:FATAL 1: configuration file `postgresql.conf' has wrong permissions
Date
Msg-id 5142.995664616@sss.pgh.pa.us
Whole thread Raw
List pgsql-bugs
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Isn't the file in /data, which is 700.  Why do we care what permissions
> we give it?

Indeed.  I could understand having a postmaster-start-time check that
$PGDATA has mode 700 (initdb makes this true anyway, but having the
postmaster double-check is not unreasonable).  But I don't see why we
should expend cycles on checking the permissions of stuff inside
$PGDATA.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: help for:FATAL 1: configuration file `postgresql.conf' has wrong permissions
Next
From: Bruce Momjian
Date:
Subject: Re: help for:FATAL 1: configuration file `postgresql.conf' has wrong permissions