From b1def35feeb99542ae6ab55005f302b7314131e0 Mon Sep 17 00:00:00 2001 From: Hari Babu Date: Fri, 18 Jan 2019 14:21:51 +1100 Subject: [PATCH] log_file_mode default value update For group read access cluster, the default value of log_file_mode is 0640 to allow reading of log files by the members of the same group. --- doc/src/sgml/config.sgml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index b6f5822b84..8aaf5b133e 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -5440,14 +5440,13 @@ local0.* /var/log/postgresql must start with a 0 (zero).) - The default permissions are 0600, meaning only the - server owner can read or write the log files. The other commonly - useful setting is 0640, allowing members of the owner's - group to read the files. Note however that to make use of such a - setting, you'll need to alter to - store the files somewhere outside the cluster data directory. In - any case, it's unwise to make the log files world-readable, since - they might contain sensitive data. + The default permissions are either 0600, meaning only the + server owner can read or write the log files or 0640, that + allows any user in the same group can read the log files, based on the new + cluster created with option of initdb + command. Note however that to make use of any setting other than default, + you'll need to alter to store the files + somewhere outside the cluster data directory. This parameter can only be set in the postgresql.conf -- 2.18.0.windows.1