Re: BUG #10446: start fails: data has group access

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: eike(at)snafu(dot)de
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #10446: start fails: data has group access
Date: 2014-05-27 00:12:22
Message-ID: 5596.1401149542@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

eike(at)snafu(dot)de writes:
> GMTFATAL: data directory "/srv/pgsql/data" has group or world access
> GMTDETAIL: Permissions should be u=rwx (0700).

> I fully understand that there must have been a lot of discussions
> about this permission restriction.

Yup.

> I was not aware of that and did set
> rwxr-x--- postgres postgres
> (and made me member of the postgres group, so that I could have a look at
> the config without su)

As far as configuration is concerned, you could consider keeping the
config files somewhere else; that's a supported arrangement.

> Is there a config option for this already?

There is not, and there will not be one in future.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Jaime Casanova 2014-05-27 02:36:18 Re: Postgres 9.3 command line displaying language
Previous Message eike 2014-05-25 20:12:49 BUG #10446: start fails: data has group access