diff options
| author | danbst <abcz2.uprola@gmail.com> | 2019-07-22 02:57:16 +0300 |
|---|---|---|
| committer | danbst <abcz2.uprola@gmail.com> | 2019-07-23 21:56:26 +0300 |
| commit | 92a015d35d0450708438f68466027707b18188bd (patch) | |
| tree | 2244bb45863a8c40b9c411c9194a32699eb41739 /pkgs/development/python-modules/rangehttpserver | |
| parent | 104f8a0e1a17a894b320f86add409d9aebb36fe4 (diff) | |
nixos/postgresql: support 0750 for data directory
This is rework of part of https://github.com/NixOS/nixpkgs/pull/46670.
My usecase was to be able to inspect PG datadir as wheel user.
PG11 now allows starting server with 0750 mask for data dir.
`groupAccess = true` now does this automatically. The only thing you have to do
is to set group ownership.
For PG10 and below, I've described a hack how this can be done. Before this PR
hack was impossible. The hack isn't ideal, because there is short
period of time when dir mode is 0700, so I didn't want to make it official.
Test/example is present too.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
