Re: pg_basebackup ignores the existing data directory permissions
Вложения
В списке pgsql-hackers по дате отправления:
| От | Michael Paquier |
|---|---|
| Тема | Re: pg_basebackup ignores the existing data directory permissions |
| Дата | |
| Msg-id | 20190213014238.GC5746@paquier.xyz обсуждение |
| Ответ на | 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 Tue, Feb 12, 2019 at 06:03:37PM +1100, Haribabu Kommi wrote: > During the testing allow group access permissions on the standby database > directory, one of my colleague found the issue, that pg_basebackup > doesn't verify whether the existing data directory has the required > permissions or not? This issue is not related allow group access > permissions. This problem was present for a long time, (I think from > the time the pg_basebackup was introduced). In which case this would cause the postmaster to fail to start. > Attached patch fixes the problem similar like initdb by changing the > permissions of the data > directory to the required permissions. It looks right to me and takes care of the case where group access is allowed. Still, we have not seen any complains about the current behavior either and pg_basebackup is around for some time already, so I would tend to not back-patch that. Any thoughts from others? -- Michael
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера