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
29225.1547567610@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
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 followslog_file_mode permissions Michael Paquier <michael@paquier.xyz>
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>
Re: current_logfiles not following group access and instead follows log_file_mode permissions Tom Lane <tgl@sss.pgh.pa.us>
Re: current_logfiles not following group access and instead followslog_file_mode permissions Michael Paquier <michael@paquier.xyz>
Re: current_logfiles not following group access and instead followslog_file_mode permissions Stephen Frost <sfrost@snowman.net>
Re: current_logfiles not following group access and instead follows log_file_mode permissions Tom Lane <tgl@sss.pgh.pa.us>
Re: current_logfiles not following group access and instead followslog_file_mode permissions Stephen Frost <sfrost@snowman.net>
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 followslog_file_mode permissions Stephen Frost <sfrost@snowman.net>
Re: current_logfiles not following group access and instead followslog_file_mode permissions Michael Paquier <michael@paquier.xyz>
Re: current_logfiles not following group access and instead followslog_file_mode permissions Stephen Frost <sfrost@snowman.net>
Re: current_logfiles not following group access and instead followslog_file_mode permissions Michael Paquier <michael@paquier.xyz>
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 followslog_file_mode permissions Haribabu Kommi <kommi.haribabu@gmail.com>
Re: current_logfiles not following group access and instead followslog_file_mode permissions Michael Paquier <michael@paquier.xyz>
Re: current_logfiles not following group access and instead followslog_file_mode permissions Robert Haas <robertmhaas@gmail.com>
Re: current_logfiles not following group access and instead followslog_file_mode permissions Michael Paquier <michael@paquier.xyz>
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 followslog_file_mode permissions Michael Paquier <michael@paquier.xyz>
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 followslog_file_mode permissions Haribabu Kommi <kommi.haribabu@gmail.com>
Re: current_logfiles not following group access and instead followslog_file_mode permissions Michael Paquier <michael@paquier.xyz>
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 followslog_file_mode permissions Michael Paquier <michael@paquier.xyz>
Re: current_logfiles not following group access and instead followslog_file_mode permissions Michael Paquier <michael@paquier.xyz>
Re: current_logfiles not following group access and instead followslog_file_mode permissions Michael Paquier <michael@paquier.xyz>
Re: current_logfiles not following group access and instead followslog_file_mode permissions Haribabu Kommi <kommi.haribabu@gmail.com>
I wrote:
> Haribabu Kommi  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.

On reflection, maybe the problem is not that we're giving the file
the wrong permissions, but that we're putting it in the wrong place?
That is, seems like it should be in the logfile directory not the
data directory.  That would certainly simplify the intended use-case,
and it would fix this complaint too.

			regards, tom lane

В списке pgsql-hackers по дате отправления
От: Darafei Komяpa Praliaskouski
Дата:
От: Maksim Milyutin
Дата:
FAQ