On Fri, Mar 29, 2019 at 9:05 PM Peter Eisentraut < peter.eisentr...@2ndquadrant.com> wrote:
> On 2019-03-26 03:26, Michael Paquier wrote: > > Do we really want to extend the replication protocol to control that? > > Perhaps we are losing sight of the original problem, which is that if > you create the target directory with the wrong permissions then ... it > has the wrong permissions. And you are free to change the permissions > at any time. Many of the proposed solutions sound excessively > complicated relative to that. > Yes, I agree that the proposed solution for fixing the original problem of existing data directory permissions with new group options to pg_basebackup is a big. why can't we just fix the permissions of the directory by default as per the source instance? I feel with this change, it may be useful to many people than problem. >From understanding of the thread discussion, +1 by: Michael Paquier Robert Haas Haribabu Kommi -1 by: Magnus Hagander Peter Eisentraut Does any one want to weigh their opinion on this patch to consider best option for controlling the existing standby data directory permissions. Regards, Haribabu Kommi Fujitsu Australia