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