Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id E33602E3FC6 for ; Thu, 13 Dec 2007 17:25:35 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 30405-08 for ; Thu, 13 Dec 2007 17:25:21 -0400 (AST) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id D32CF2E3FD5 for ; Thu, 13 Dec 2007 17:25:28 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id lBDLPRxv020602; Thu, 13 Dec 2007 16:25:27 -0500 (EST) To: "Ferry, Craig" cc: pgsql-admin@postgresql.org Subject: Re: Error Creating Tablespace In-reply-to: <6B6D3063DF0A7A4DB8A989D40C61BEB308EF8359@EMAIL02.wescodist.com> References: <6B6D3063DF0A7A4DB8A989D40C61BEB308EF8359@EMAIL02.wescodist.com> Comments: In-reply-to "Ferry, Craig" message dated "Thu, 13 Dec 2007 14:36:51 -0500" Date: Thu, 13 Dec 2007 16:25:27 -0500 Message-ID: <20601.1197581127@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/96 X-Sequence-Number: 27613 "Ferry, Craig" 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