"Ferry, Craig" <crferry@xxxxxxxxxxxxx> 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 ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings