Re: help for:FATAL 1: configuration file `postgresql.conf' has wrong permissions

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: help for:FATAL 1: configuration file `postgresql.conf' has wrong permissions
Дата
Msg-id Pine.LNX.4.30.0108060013470.11162-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: help for:FATAL 1: configuration file `postgresql.conf' has wrong permissions  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: help for:FATAL 1: configuration file `postgresql.conf' has wrong permissions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Tom Lane writes:

> A look at the source code shows it wants 744 or less.
>
> This is probably overly restrictive; in fact, I would argue that there
> should be no such check at all.  We do not do runtime checks for
> permissions on any other files, and some of them are far more sensitive
> than postgresql.conf (password files for example).  Peter, what is the
> rationale for having this check?

Security on a module basis perhaps (a.k.a. paranoia)?  I could agree on
moving that check to $PGDATA but I feel it needs to be there.  At least
one user was going to get into trouble here.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: alloc error on multiple action-queries within a rule
Следующее
От: Tom Lane
Дата:
Сообщение: Re: help for:FATAL 1: configuration file `postgresql.conf' has wrong permissions