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 <[email protected]>
Reviewed-by: Andreas Karlsson <[email protected]>
Reviewed-by: Xiaopeng Wang <[email protected]>
Reviewed-by: Fujii Masao <[email protected]>
Discussion: 
https://postgr.es/m/os9pr01mb1214959be987b4839e3046050f5...@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(-)

Reply via email to