oss-sec mailing list archives

Re: postgresql: pg_dump creates world-readable dump


From: Julien Cristau <jcristau () debian org>
Date: Sun, 7 Dec 2014 20:55:03 +0100

On Sun, Dec  7, 2014 at 20:31:27 +0100, Robert Scheck wrote:

$ pg_dump postgres > postgres1.sql
$ pg_dump postgres > postgres2.sql
$ pg_dump postgres > postgres3.sql
[...]

I do not know which behaviour you are exactly seeing (and for which
version of PostgreSQL) but above seems absolutely fine to me.

You're not showing anything about pg_dump if you're having the shell
open the file.

Cheers,
Julien


Current thread: