pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Graham Leggett <minfrin@sharp.fm>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: Could not create a tablespace - permission denied
Date: Sat, 19 Apr 2008 17:42:45 +0200
Message-ID: <480A12F5.5060609@sharp.fm> (raw)
In-Reply-To: <9189.1208619241@sss.pgh.pa.us>
References: <4809EC7B.6060902@sharp.fm>
	<9189.1208619241@sss.pgh.pa.us>

Tom Lane wrote:

> If you can do that from a shell running as postgres, then I think
> selinux is not so disabled as you think.  Ordinary file permissions are
> applied uniformly to all processes running as a given userid, but
> selinux is different.

SELinux is definitely not present on this machine - it is not installed 
at all.

At it turned out, the postgresql server had cached the system user 
permissions, and it only started working after postgresql had been 
restarted and the cached credentials had been replaced.

Regards,
Graham
--

Attachments:

  smime.p7s (application/x-pkcs7-signature, 3.2K) download

view thread (10+ messages)  latest in thread

Message-ID: <480A12F5.5060609@sharp.fm>
Permalink:  ../480A12F5.5060609@sharp.fm/
Also on:    postgresql.org/message-id/480A12F5.5060609@sharp.fm

 · 

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: minfrin@sharp.fm, tgl@sss.pgh.pa.us
  Subject: Re: Could not create a tablespace - permission denied
  In-Reply-To: <480A12F5.5060609@sharp.fm>

* 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