Re: pg_basebackup ignores the existing data directory permissions
Вложения
В списке pgsql-hackers по дате отправления:
| От | Michael Paquier |
|---|---|
| Тема | Re: pg_basebackup ignores the existing data directory permissions |
| Дата | |
| Msg-id | 20190319062910.GD2899@paquier.xyz обсуждение |
| Ответ на | Re: pg_basebackup ignores the existing data directory permissions (Robert Haas <robertmhaas@gmail.com>) |
| Ответы |
Re: pg_basebackup ignores the existing data directory permissions
Re: pg_basebackup ignores the existing data directory permissions |
| Список | pgsql-hackers |
On Mon, Mar 18, 2019 at 11:45:05AM -0400, Robert Haas wrote: > So you want to default to no group access regardless of the directory > permissions, with an option to enable group access that must be > explicitly specified? That seems like a reasonable option to me; note > that initdb does seem to chdir() an existing directory. Hm. We have been assuming that the contents of a base backup inherit the permission of the source when using pg_basebackup because this allows users to keep a nodes in a consistent state without deciding which option to use. Do you mean that you would like to enforce the permissions of only the root directory if it exists? Or the root directory with all its contents? The former may be fine. The latter is definitely not. -- Michael
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера