Re: pg_upgrade and umask
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2012-03-09T15:18:31Z
Lists: pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes: > What do people think of pg_upgrade setting its umask to 0077 so the log > and SQL files are only readable by the postgres user? +1 for restricting the log files, but I'm dubious that you should alter the existing permissions on copied files in any way. IOW, umask seems like the wrong tool. regards, tom lane