Re: Error Creating Tablespace

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ferry, Craig" <crferry(at)wescodist(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Error Creating Tablespace
Date: 2007-12-13 21:25:27
Message-ID: 20601.1197581127@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tena Sakai 2007-12-13 21:43:21 Re: reading pg_stat_activity view
Previous Message Sebastián Baioni 2007-12-13 21:15:25 Canceling process from pgAdmin III