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 20190218040505.GJ15532@paquier.xyz
Whole thread Raw
In response to Re: pg_basebackup ignores the existing data directory permissions  (Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>)
List pgsql-hackers
On Fri, Feb 15, 2019 at 09:24:15AM +0900, Kyotaro HORIGUCHI wrote:
> I disagree that pg_basebackup rejects directories other than
> specific permissions, since it is just a binary backup tool,
> which is not exclusive to making replication-standby. It ought to
> be runnable and actually runnable by any OS users even by root,
> for who postgres rejects to start. As mentioned upthread, it is
> safe-side failure that server rejects to run on it.

Perhaps I do not fully understand your argument here.  We do not
discuss about making pg_basebackup fail in any way, just of having it
adjust the umask of the target path so as users can simplify startups
using the generated base backup.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Incorrect visibility test function assigned to snapshot
Next
From: Michael Paquier
Date:
Subject: Re: make installcheck-world in a clean environment