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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: help for:FATAL 1: configuration file `postgresql.conf' has wrong permissions
Дата
Msg-id 4895.995661666@sss.pgh.pa.us
обсуждение исходный текст
Ответ на help for:FATAL 1: configuration file `postgresql.conf' has wrong permissions  (bonolin <bonolin@yahoo.com>)
Ответы Re: help for:FATAL 1: configuration file `postgresql.conf' has wrong permissions  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: help for:FATAL 1: configuration file `postgresql.conf' has wrong permissions  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-bugs
bonolin <bonolin@yahoo.com> writes:
>   I install postgres 7.1 on solaris 2.6(sparc cpu).And create some
>   db,runing normal.Today,I want to restart the database,it report
>   "FATAL 1: configuration file `postgresql.conf' has wrong
>   permissions",I check and change the permission to 775 ,but fail
>   either,can you help.I need your help.  Thanks!

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?

            regards, tom lane

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

Предыдущее
От: Felipe Alvarez Harnecker
Дата:
Сообщение: Documentation Bug related to Inheritance
Следующее
От: Tom Lane
Дата:
Сообщение: Re: help for:FATAL 1: configuration file `postgresql.conf' has wrong permissions