Re: pg_basebackup ignores the existing data directory permissions
От | Robert Haas |
---|---|
Тема | Re: pg_basebackup ignores the existing data directory permissions |
Дата | |
Msg-id | CA+TgmoaVo09Se=xYwBjhxpzuMK=SAG4v9QJC5YWKHcBZqUsfwA@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: pg_basebackup ignores the existing data directory permissions (Michael Paquier <michael@paquier.xyz>) |
Ответы |
Re: pg_basebackup ignores the existing data directory permissions
|
Список | pgsql-hackers |
On Mon, Mar 18, 2019 at 4:16 AM Michael Paquier <michael@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 <sfrost@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
В списке pgsql-hackers по дате отправления: