Re: Permission problem with create tablespace

Поиск
Список
Период
Сортировка
От Andras Simon
Тема Re: Permission problem with create tablespace
Дата
Msg-id 9008cd5d0610161844j2cddf455pba00dab33d454687@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Permission problem with create tablespace  (Douglas McNaught <doug@mcnaught.org>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Permission problem with create tablespace
Следующее
От: "Andras Simon"
Дата:
Сообщение: Re: Permission problem with create tablespace