agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: doc: Improve description of pg_ctl -l log file permissions
Date: Fri, 17 Apr 2026 06:34:01 +0000
Message-ID: <E1wDcm8-001N36-1b@gemulon.postgresql.org> (raw)

doc: Improve description of pg_ctl -l log file permissions

The documentation stated only that the log file created by pg_ctl -l is
inaccessible to other users by default. However, since commit c37b3d0,
the actual behavior is that only the cluster owner has access by default,
but users in the same group as the cluster owner may also read the file
if group access is enabled in the cluster.

This commit updates the documentation to describe this behavior
more clearly.

Backpatch to all supported versions.

Author: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Reviewed-by: Andreas Karlsson <andreas@proxel.se>
Reviewed-by: Xiaopeng Wang <wxp_728@163.com>
Reviewed-by: Fujii Masao <masao.fujii@gmail.com>
Discussion: https://postgr.es/m/OS9PR01MB1214959BE987B4839E3046050F54BA@OS9PR01MB12149.jpnprd01.prod.outlook.com
Backpatch-through: 14

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0a26194683516a766344f0d899f23ae6e183524c

Modified Files
--------------
doc/src/sgml/ref/pg_ctl-ref.sgml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)



view thread (6+ messages)

Message-ID: <E1wDcm8-001N36-1b@gemulon.postgresql.org>
Permalink:  ../E1wDcm8-001N36-1b@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wDcm8-001N36-1b@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: fujii@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: doc: Improve description of pg_ctl -l log file permissions
  In-Reply-To: <E1wDcm8-001N36-1b@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox