Re: current_logfiles not following group access and instead follows log_file_mode permissions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: current_logfiles not following group access and instead follows log_file_mode permissions
Дата
Msg-id 24877.1547563651@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: current_logfiles not following group access and instead followslog_file_mode permissions  (Haribabu Kommi <kommi.haribabu@gmail.com>)
Ответы Re: current_logfiles not following group access and instead follows log_file_mode permissions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Haribabu Kommi <kommi.haribabu@gmail.com> writes:
> Excluding the file in the backup can solve the problem of backup by an
> unprivileged user. Is there any scenarios it can cause problems if it
> doesn't follow the group access mode?

The point of this file, as I understood it, was to allow someone who's
allowed to read the log files to find out which one is the latest.  It
makes zero sense for it to have different permissions from the log files,
because doing that would break its only use-case.

I am wondering what is the use-case for a backup arrangement that's so
fragile it can't cope with varying permissions in the data directory.

            regards, tom lane


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

Предыдущее
От: James Coleman
Дата:
Сообщение: Re: Proving IS NOT NULL inference for ScalarArrayOpExpr's
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: insensitive collations