Re: [HACKERS] PATCH: Configurable file mode mask - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] PATCH: Configurable file mode mask
Date
Msg-id 8d08f3ee-f111-cf33-99ab-a1b994ba43e0@2ndquadrant.com
Whole thread Raw
In response to [HACKERS] PATCH: Configurable file mode mask  (David Steele <david@pgmasters.net>)
Responses Re: [HACKERS] PATCH: Configurable file mode mask  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
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.

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

There is no documentation update for initdb.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Kuntal Ghosh
Date:
Subject: Re: [HACKERS] exposing wait events for non-backends (was: Trackingwait event for latches)
Next
From: Beena Emerson
Date:
Subject: Re: [HACKERS] increasing the default WAL segment size