Re: Pg 8.4.3 does not start up with "Permissions should be u=rwx (0700)

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Joseph S <jks(at)selectacast(dot)net>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Pg 8.4.3 does not start up with "Permissions should be u=rwx (0700)
Date: 2010-03-15 21:13:08
Message-ID: 9837222c1003151413v4a878684ud9b14ed0fc9136f7@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Mar 15, 2010 at 21:08, Joseph S <jks(at)selectacast(dot)net> wrote:
> I upgraded from 8.4.2 to 8.4.3, and I couldn't start postgres. This was
> printed on STDERR
>
> FATAL:  data directory "path-to-my-data-dir" has group or world access
> DETAIL:  Permissions should be u=rwx (0700).
>
> This change was not documented in the release notes, and I don't think
> permission != 700 should be a fatal error.  I purposely set o+x to let any
> user be able to read the log files.

There has been no change there. From what I can tell, that part of the
code hasn't been touched since 2004. That shouldn've have worked in
8.4.2 either - but it's only checked on server startup, so if you
changed the mode after startup you wouldn't have noticed.

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2010-03-15 21:34:05 Re: Pg 8.4.3 does not start up with "Permissions should be u=rwx (0700)
Previous Message Bruce Momjian 2010-03-15 21:10:56 Re: Move to core xml from contrib/xml2