Re: PATCH: Configurable file mode mask

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PATCH: Configurable file mode mask
Дата
Msg-id 25105.1520962097@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PATCH: Configurable file mode mask  (David Steele <david@pgmasters.net>)
Ответы Re: PATCH: Configurable file mode mask  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
David Steele <david@pgmasters.net> writes:
> On 3/12/18 3:28 AM, Michael Paquier wrote:
>> In pg_rewind and pg_resetwal, isn't that also a portion which is not
>> necessary without the group access feature?

> These seem like a good idea to me with or without patch 03.  Some of our
> front-end tools (initdb, pg_upgrade) were setting umask and others
> weren't.  I think it's more consistent (and safer) if they all do, at
> least if they are writing into PGDATA.

+1 ... see a926eb84e for an example of how easy it is to screw up if
the process's overall umask is permissive.

            regards, tom lane


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

Предыдущее
От: Michail Nikolaev
Дата:
Сообщение: Re: [WIP PATCH] Index scan offset optimisation using visibility map
Следующее
От: Chapman Flack
Дата:
Сообщение: Re: PATCH: Configurable file mode mask