Re: postgres user can connect but no one else

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "A B" <gentosaker(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: postgres user can connect but no one else
Date: 2008-11-03 14:41:17
Message-ID: 26064.1225723277@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"A B" <gentosaker(at)gmail(dot)com> writes:
> psql: could not connect to server: Permission denied
> Is the server running locally and accepting
> connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"

Did you actually put the socket file there? If so, the problem is
probably lack of world read permission for /var/run/postgresql/.

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Dobes Vandermeer 2008-11-05 09:49:35 Does pg_dumpall support BLOBs?
Previous Message Obe, Regina 2008-11-03 12:05:37 Re: postgres user can connect but no one else