"Ferry, Craig" <crferry(at)wescodist(dot)com> writes:
> I am trying to create a tablespace logged in as postgres.   I just
> installed postgresql 8.2.5 on a Redhat linux server.   
> I am receiving the following error.
> ERROR:  could not set permissions on directory "/data/pgsql/pgdata":
> Permission denied
If you've got SELinux enabled, you need to mark that directory with
the right SELinux context to allow the postmaster to access it.
There were details posted a few weeks ago.
			regards, tom lane