pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Revert "Prevent running pg_basebackup as root"
Date: Fri, 07 Feb 2020 01:54:07 +0000
Message-ID: <E1izsqN-00079S-CR@gemulon.postgresql.org> (raw)

Revert "Prevent running pg_basebackup as root"

This reverts commit 7bae0ad, as this is not ideal with the tar format,
and we may want to explore more options like what is done by tar with
some equivalents of --owner and --group, but for pg_basebackup.

Per complaints from Magnus Hagander and Stephen Frost.

Discussion: https://postgr.es/m/20200205172259.GW3195@tamriel.snowman.net

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/dcddc3f813ff39d0e33c2b7c77092a6c0b0e9d0b

Modified Files
--------------
src/bin/pg_basebackup/pg_basebackup.c | 16 ----------------
1 file changed, 16 deletions(-)



Message-ID: <E1izsqN-00079S-CR@gemulon.postgresql.org>
Permalink:  ../E1izsqN-00079S-CR@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1izsqN-00079S-CR@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Revert "Prevent running pg_basebackup as root"
  In-Reply-To: <E1izsqN-00079S-CR@gemulon.postgresql.org>
  References: <E1izsqN-00079S-CR@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox