Hi hackers,

While investigating codes related with the permissions, I found the below
description in the pg_ctl.

```
-l filename
--log=filename
Append the server log output to filename. If the file does not exist, it is 
created. The umask is set to 077, so access to the log file is disallowed to 
other users by default.
```

But users who are in the same group can also see the log if group permissions 
are
enabled on the data directory. It was extended by c37b3d0 but updating the doc 
seemed
to be missed. Attached patch can fix the issue.

Best regards,
Hayato Kuroda
FUJITSU LIMITED

Attachment: 0001-pg_ctl-fix-wrong-description-in-l.patch
Description: 0001-pg_ctl-fix-wrong-description-in-l.patch

Reply via email to