On Tue, Mar 19, 2019 at 2:29 AM Michael Paquier <mich...@paquier.xyz> wrote: > Hm. We have been assuming that the contents of a base backup inherit > the permission of the source when using pg_basebackup because this > allows users to keep a nodes in a consistent state without deciding > which option to use. Do you mean that you would like to enforce the > permissions of only the root directory if it exists? Or the root > directory with all its contents? The former may be fine. The latter > is definitely not.
Why not? -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company