Re: [HACKERS] PATCH: Configurable file mode mask
| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] PATCH: Configurable file mode mask |
| Дата | |
| Msg-id | 7669.1488803924@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [HACKERS] PATCH: Configurable file mode mask (Simon Riggs <simon@2ndquadrant.com>) |
| Ответы |
Re: [HACKERS] PATCH: Configurable file mode mask
Re: [HACKERS] PATCH: Configurable file mode mask |
| Список | pgsql-hackers |
Simon Riggs <simon@2ndquadrant.com> writes:
> On 1 March 2017 at 01:58, David Steele <david@pgmasters.net> wrote:
>> PostgreSQL currently requires the file mode mask (umask) to be 0077.
>> However, this precludes the possibility of a user in the postgres group
>> performing a backup (or whatever). Now that
>> pg_start_backup()/pg_stop_backup() privileges can be delegated to an
>> unprivileged user, it makes sense to also allow a (relatively)
>> unprivileged user to perform the backup at the file system level as well.
> +1
I'd ask what is the point, considering that we don't view "cp -a" as a
supported backup technique in the first place.
regards, tom lane
В списке pgsql-hackers по дате отправления: