Re: pg_basebackup ignores the existing data directory permissions - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: pg_basebackup ignores the existing data directory permissions
Date
Msg-id 20190325224431.GI2558@paquier.xyz
Whole thread Raw
In response to Re: pg_basebackup ignores the existing data directory permissions  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Mon, Mar 25, 2019 at 09:08:23AM -0400, Robert Haas wrote:
> If we're going to go with -g {inherit|none|group} then -g inherit
> ought to do what was originally proposed on this thread -- i.e. set
> the directory permissions to match the contents.  I don't think that's
> a change that can or should be back-patched, but we should make it
> consistent as part of this cleanup.

No objections from me to do that actually.  That's a small
compatibility break, but with the new options it is possible to live
with.  Perhaps we should add into initdb the same switch?  Except that
"inherit" makes no sense there.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: psql display of foreign keys
Next
From: Thomas Munro
Date:
Subject: Re: MacPorts support for "extra" tests