pg_basebackup ignores the existing data directory permissions

Поиск
Список
Период
Сортировка
От Haribabu Kommi
Тема pg_basebackup ignores the existing data directory permissions
Дата
Msg-id CAJrrPGdmQSbyRecDXe7gh-+En0qE1uJ2WbCOYjoDin3gOSH2wQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: pg_basebackup ignores the existing data directory permissions  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
Hi Hackers,

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).

Attached patch fixes the problem similar like initdb by changing the permissions of the data
directory to the required permissions.

Regards,
Haribabu Kommi
Fujitsu Australia
Вложения

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

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: speeding up planning with partitions
Следующее
От: "Takashi Menjo"
Дата:
Сообщение: Re: [HACKERS][PATCH] Applying PMDK to WAL operations for persistent memory