pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: eike@snafu.de
To: pgsql-bugs@postgresql.org
Subject: BUG #10446: start fails: data has group access
Date: Sun, 25 May 2014 20:12:49 +0000
Message-ID: <20140525201249.20209.15553@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      10446
Logged by:          eike
Email address:      eike@snafu.de
PostgreSQL version: 9.2.5
Operating system:   2.6.18-028stab101.1 @ virtuozzo@2.6.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)



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (2+ messages)  latest in thread

Message-ID: <20140525201249.20209.15553@wrigleys.postgresql.org>
Permalink:  ../20140525201249.20209.15553@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20140525201249.20209.15553@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: eike@snafu.de
  Subject: Re: BUG #10446: start fails: data has group access
  In-Reply-To: <20140525201249.20209.15553@wrigleys.postgresql.org>
  References: <20140525201249.20209.15553@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox