On Mon, Mar 18, 2019 at 4:16 AM Michael Paquier <mich...@paquier.xyz> wrote: > On Mon, Mar 18, 2019 at 08:32:44AM +0100, Magnus Hagander wrote: > > On Mon, Mar 18, 2019 at 7:08 AM Stephen Frost <sfr...@snowman.net> wrote: > >> I definitely think that we should add an option to allow the user to > >> tell us explicitly what they want here, even if we also go based on what > >> the created directory has (and in that case, we should make everything, > >> including the base directory, follow what the user asked for). > > > > +1 for having an option to override whatever the default is. > > Based on the feedback gathered, having a separate option to enforce > the default and not touching the behavior implemented until now, > sounds fine to me.
That's not what I'm proposing. I think the behavior implemented until now is not best, because the files within the directory should inherit the directory's permissions, not the remote side's permissions. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company