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
signature.asc
Description: PGP signature