Re: PATCH: Configurable file mode mask
Stephen Frost <sfrost@snowman.net>
From: Stephen Frost <sfrost@snowman.net>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: David Steele <david@pgmasters.net>, Pg Hackers <pgsql-hackers@postgresql.org>, Adam Brightwell <adam.brightwell@crunchydata.com>
Date: 2017-03-10T13:12:51Z
Lists: 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
Commits
-
Allow group access on PGDATA
- c37b3d08ca68 11.0 landed
-
Refactor dir/file permissions
- da9b580d8990 11.0 landed
-
Revert "Add basic TAP test setup for pg_upgrade"
- 58ffe141eb37 11.0 cited
-
Add basic TAP test setup for pg_upgrade
- f41e56c76e39 11.0 cited