BUG #10446: start fails: data has group access

From: eike(at)snafu(dot)de
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #10446: start fails: data has group access
Date: 2014-05-25 20:12:49
Message-ID: 20140525201249.20209.15553@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 10446
Logged by: eike
Email address: eike(at)snafu(dot)de
PostgreSQL version: 9.2.5
Operating system: 2.6.18-028stab101.1 @ virtuozzo(at)2(dot)6(dot)0
Description:

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.
And probably this is the way to go for a good reason.

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)

It failed on reboot.
postgres would not start.

This was a bit unexpected, since it did work fine with these permissions.

Is there a config option for this already?
(but this would open up a hole)

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2014-05-27 00:12:22 Re: BUG #10446: start fails: data has group access
Previous Message Tom Lane 2014-05-25 18:43:00 Re: BUG #10436: Can't compile 9.4 with this mingw64-w32 gcc 4.8.1, 4.8.2, 4.8.3