Skip to content

Commit

Permalink
nixosTests.systemd-journal-gateway: fix permissions on files under /r…
Browse files Browse the repository at this point in the history
…un/secrets
  • Loading branch information
jmbaur committed Dec 12, 2024
1 parent 580bf5f commit 03accd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/tests/systemd-journal-gateway.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ import ./make-test-python.nix (
def copy_pem(file: str):
machine.copy_from_host(source=f"{tmpdir}/{file}", target=f"/run/secrets/{file}")
machine.succeed(f"chmod 644 /run/secrets/{file}")
machine.succeed(f"chmod 600 /run/secrets/{file} && chown systemd-journal-gateway /run/secrets/{file}")
with subtest("Copying keys and certificates"):
machine.succeed("mkdir -p /run/secrets/{client,server}")
Expand Down

0 comments on commit 03accd3

Please sign in to comment.