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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Joseph S <jks(at)selectacast(dot)net>, 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-16 00:48:05
Message-ID: 26598.1268700485@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Magnus Hagander <magnus(at)hagander(dot)net> writes:
> 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.

The restriction was introduced in 7.2 ...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Padmanabhan G 2010-03-16 05:36:32 Re: ERROR: Package compat-postgresql-libs-4-1PGDG.rhel4.i386.rpm is not signed
Previous Message Tom Lane 2010-03-15 23:42:06 Re: Daylight savings time confusion