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

From Peter Eisentraut
Subject Re: pg_basebackup ignores the existing data directory permissions
Date
Msg-id 311ebaca-ed53-51bc-7ef9-6f3f7e4da481@2ndquadrant.com
Whole thread Raw
In response to Re: pg_basebackup ignores the existing data directory permissions  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On 2019-03-16 15:29, Robert Haas wrote:
> Another option would be to provide a pg_basebackup option to allow the
> user to specify what they intended i.e.  --[no-]group-read.  (Tying it
> to -R doesn't sound like a good decision to me.)

I was actually surprised to learn how it works right now.  I would have
preferred that pg_basebackup require an explicit option to turn on group
access, similar to initdb.

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


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Add exclusive backup deprecation notes to documentation
Next
From: Peter Eisentraut
Date:
Subject: Re: pg_basebackup ignores the existing data directory permissions