On 2019-03-19 08:34, Haribabu Kommi wrote:
> How about the following change?
>
> pg_basebackup --> copies the contents of the src directory (with group
> access)
> and even the root directory permissions.
>
> pg_basebackup --no-group-access --> copies the contents of the src
> directory
> (with no group access) even for the root directory.
I'm OK with that. Perhaps a positive option --allow-group-access would
also be useful.
Let's make sure the behavior of these options is aligned with initdb.
And write tests for each variant.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services