Re: pg_basebackup ignores the existing data directory permissions

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: pg_basebackup ignores the existing data directory permissions
Дата
Msg-id e7d5fe46-5a3f-c3da-7f33-566e14edd822@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: pg_basebackup ignores the existing data directory permissions  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
On 2019-03-18 08:32, Magnus Hagander wrote:
>     Going based on the current setting of the directory seems defensible to
>     me, with the argument of "we trust you created the directory the way you
>     want the rest of the system to be".
> 
> 
> Which I believe is also how a plain unix cp (or tar or whatever) would
> work, isn't it? I think that alone is a pretty strong reason to work the
> same as those -- they're not entirely unsimilar.

Those don't copy over the network.  In the case of pg_basebackup, there
is nothing that ensures that the remote system has the same users or
groups or permission setup.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: pg_basebackup ignores the existing data directory permissions
Следующее
От: Hugh Ranalli
Дата:
Сообщение: Re: Unaccent extension python script Issue in Windows