SELinux + CREATE TABLESPACE = ? - Mailing list pgsql-general

From David Fetter
Subject SELinux + CREATE TABLESPACE = ?
Date
Msg-id 20060802234736.GG13822@fetter.org
Whole thread Raw
Responses Re: SELinux + CREATE TABLESPACE = ?  (David Fetter <david@fetter.org>)
List pgsql-general
Folks,

This may have come up before, but I didn't see a specific answer in
the archives.

When I try to do:

CREATE TABLESPACE foo LOCATION '/path/to/foo/which/is/not/under/$PGDATA';

I get:

ERROR:  could not set permissions on directory "/path/to/foo/which/is/not/under/$PGDATA"

Apparently this is a SELinux problem.  How do I set the policy to
allow for this, or if that's not possible, how do I disable SELinux?

Thanks in advance :)

Cheers,
D
--
David Fetter <david@fetter.org> http://fetter.org/
phone: +1 415 235 3778        AIM: dfetter666
                              Skype: davidfetter

Remember to vote!

pgsql-general by date:

Previous
From: Flemming Frandsen
Date:
Subject: Re: LISTEN considered dangerous
Next
From: David Fetter
Date:
Subject: Re: SELinux + CREATE TABLESPACE = ?