pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ferry, Craig <crferry@wescodist.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Error Creating Tablespace
Date: Thu, 13 Dec 2007 16:25:27 -0500
Message-ID: <20601.1197581127@sss.pgh.pa.us> (raw)
In-Reply-To: <6B6D3063DF0A7A4DB8A989D40C61BEB308EF8359@EMAIL02.wescodist.com>
References: <6B6D3063DF0A7A4DB8A989D40C61BEB308EF8359@EMAIL02.wescodist.com>

"Ferry, Craig" <crferry@wescodist.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



view thread (2+ messages)

Message-ID: <20601.1197581127@sss.pgh.pa.us>
Permalink:  ../20601.1197581127@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20601.1197581127@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, crferry@wescodist.com
  Subject: Re: Error Creating Tablespace
  In-Reply-To: <20601.1197581127@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox