current_logfiles not following group access and instead follows log_file_mode permissions
Haribabu Kommi <kommi.haribabu@gmail.com>
From: Haribabu Kommi <kommi.haribabu@gmail.com>
To: pgsql-hackers@lists.postgresql.org
Date: 2019-01-15T04:08:41Z
Lists: pgsql-hackers
Attachments
- 0001-current_logfiles-file-following-group-access-mode.patch (application/octet-stream) patch 0001
current_logfiles is a meta data file, that stores the current log writing file, and this file presents in the data directory. This file doesn't follow the group access mode set at the initdb time, but it follows the log_file_mode permissions. without group access permissions, backup with group access can lead to failure. Attached patch fix the problem. comments? Regards, Haribabu Kommi Fujitsu Australia
Commits
-
Make current_logfiles use permissions assigned to files in data directory
- 7d7435c5c505 11.3 landed
- 276d2e6c2d81 12.0 landed