Re: pg_basebackup ignores the existing data directory permissions
Вложения
В списке pgsql-hackers по дате отправления:
| От | Michael Paquier |
|---|---|
| Тема | Re: pg_basebackup ignores the existing data directory permissions |
| Дата | |
| Msg-id | 20190322040026.GP20192@paquier.xyz обсуждение исходный текст |
| Ответ на | Re: pg_basebackup ignores the existing data directory permissions (Haribabu Kommi <kommi.haribabu@gmail.com>) |
| Ответы |
Re: pg_basebackup ignores the existing data directory permissions
|
| Список | pgsql-hackers |
On Fri, Mar 22, 2019 at 02:45:24PM +1100, Haribabu Kommi wrote: > How about letting the pg_basebackup to decide group permissions of the > standby directory irrespective of the primary directory permissions. > > Default - permissions are same as primary > --allow-group-access - standby directory have group access permissions > --no-group--access - standby directory doesn't have group permissions > > The last two options behave irrespective of the primary directory > permissions. Yes, I'd imagine that we would want to be able to define three different behaviors, by either having a set of options, or a sinple option with a switch, say --group-access: - "inherit" causes the permissions to be inherited from the source node, and that's the default. - "none" enforces the default 0700/0600. - "group" enforces group read access. -- Michael
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера