Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 9BCA1B5DBDB for ; Tue, 9 Aug 2011 12:49:17 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 37448-03 for ; Tue, 9 Aug 2011 15:49:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 6FE1BB5DBD6 for ; Tue, 9 Aug 2011 12:49:11 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p79FnA3B019182; Tue, 9 Aug 2011 11:49:10 -0400 (EDT) To: jtkells@verizon.net cc: pgsql-admin@postgresql.org Subject: Re: PGDATA not accessible; please fix the directory permissions ($PGDATA should be world readable) In-reply-to: <8kg247d0suh0mkoiep8u9dm6msbbrr9r8k@4ax.com> References: <8kg247d0suh0mkoiep8u9dm6msbbrr9r8k@4ax.com> Comments: In-reply-to jtkells@verizon.net message dated "Tue, 09 Aug 2011 10:49:27 -0400" Date: Tue, 09 Aug 2011 11:49:10 -0400 Message-ID: <19181.1312904950@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.712 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.812 X-Spam-Level: X-Archive-Number: 201108/58 X-Sequence-Number: 38045 jtkells@verizon.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