Re: Permission problem with create tablespace - Mailing list pgsql-general

From Andras Simon
Subject Re: Permission problem with create tablespace
Date
Msg-id 9008cd5d0610161844j2cddf455pba00dab33d454687@mail.gmail.com
Whole thread Raw
In response to Re: Permission problem with create tablespace  (Douglas McNaught <doug@mcnaught.org>)
List pgsql-general

On 10/17/06, Douglas McNaught <doug@mcnaught.org> wrote:
> "Andras Simon" <szajmi@gmail.com> writes:
>
> > I'm trying to create a new tablespace in a directory that postgres
> > owns, but PG says it cannot  set permissions on this directory.
>
> ...
>
> > This is on Fedora Core 5 (x86), psql 8.1.4.
>
> SELinux, most likely.

That's it!

Oct 17 02:58:57 localhost kernel: audit(1161046737.127:24): avc:  denied  { setattr } for  pid=21374 comm="postmaster"
name="mspace"dev=hdb6 ino=2424835 scontext=system_u:system_r:postgresql_t:s0 tcontext=user_u:object_r:usr_t:s0
tclass=dir

Thanks,

Andras

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Permission problem with create tablespace
Next
From: "Andras Simon"
Date:
Subject: Re: Permission problem with create tablespace