Fix lamassu-db-password permissions for postgres user
Some checks failed
nix-bitcoin tests / build_test_drivers (push) Has been cancelled
nix-bitcoin tests / check_flake (push) Has been cancelled
nix-bitcoin tests / test_scenario (default) (push) Has been cancelled
nix-bitcoin tests / test_scenario (joinmarket-bitcoind-29) (push) Has been cancelled
nix-bitcoin tests / test_scenario (netns) (push) Has been cancelled
nix-bitcoin tests / test_scenario (netnsRegtest) (push) Has been cancelled

Add explicit 440 permissions to allow postgres group to read the
database password secret, fixing lamassu-postgres-setup service failure.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Patrick Mulligan 2026-01-11 20:06:55 +01:00
parent 4d2d65803b
commit dcc376a775

View file

@ -194,6 +194,7 @@ in
lamassu-db-password = { lamassu-db-password = {
user = cfg.user; user = cfg.user;
group = "postgres"; group = "postgres";
permissions = "440"; # Allow postgres group to read
}; };
}; };