Re: PGDATA not accessible; please fix the directory permissions ($PGDATA should be world readable)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: jtkells(at)verizon(dot)net
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: PGDATA not accessible; please fix the directory permissions ($PGDATA should be world readable)
Date: 2011-08-09 15:49:10
Message-ID: 19181.1312904950@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

jtkells(at)verizon(dot)net writes:
> postgresql 8.4.8 64 bit /Ubuntu 10.4 64 bit

> When I try to connect to postgresql from a local user on the same
> machine that postgresql is running on I receive the following:
> psql
> Error: /pgdata/data is not accessible; please fix the directory
> permissions (/pgdata/ should be world readable)

There is no such error message in the standard distribution of Postgres.

I surmise that you are up against some hack written by the Ubuntu
packager of Postgres, and so you'd be best off filing a bug in the
Ubuntu bug tracker to get support for that.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jerry Sievers 2011-08-09 15:55:39 Re: Dump SQL DDL of all functions in DB
Previous Message Tom Lane 2011-08-09 15:45:11 Re: Postgres process