Re: [HACKERS] PATCH: Configurable file mode mask

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: [HACKERS] PATCH: Configurable file mode mask
Дата
Msg-id 20170310131251.GB9812@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: [HACKERS] PATCH: Configurable file mode mask  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: [HACKERS] PATCH: Configurable file mode mask
Список pgsql-hackers
Peter,

* Peter Eisentraut (peter.eisentraut@2ndquadrant.com) wrote:
> On 2/28/17 20:58, David Steele wrote:
> > This patch introduces a new initdb param, -u/-file-mode-mask, and a new
> > GUC, file_mode_mask, to allow the default mode of files and directories
> > in the $PGDATA directory to be modified.
>
> The postmaster.pid file appears not to observe the configured mask.

Good point, it should.

> There ought to be a test, perhaps under src/bin/initdb/, to check for
> that kind of thing.

Good idea.

> There is no documentation update for initdb.

Right, that needs to be fixed.

Thanks!

Stephen

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