Re: PATCH: Configurable file mode mask
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Simon Riggs <simon@2ndquadrant.com>
Cc: David Steele <david@pgmasters.net>,
Pg Hackers <pgsql-hackers@postgresql.org>,
Adam Brightwell <adam.brightwell@crunchydata.com>,
Stephen Frost <sfrost@snowman.net>
Date: 2017-03-06T12:38:44Z
Lists: 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
Commits
-
Allow group access on PGDATA
- c37b3d08ca68 11.0 landed
-
Refactor dir/file permissions
- da9b580d8990 11.0 landed
-
Revert "Add basic TAP test setup for pg_upgrade"
- 58ffe141eb37 11.0 cited
-
Add basic TAP test setup for pg_upgrade
- f41e56c76e39 11.0 cited