diff options
author | Eric Culp <eculperic@gmail.com> | 2020-01-11 14:25:38 -0800 |
---|---|---|
committer | Eric Culp <eculperic@gmail.com> | 2020-01-11 16:18:10 -0800 |
commit | dc6451f08c9add6ffaacfef9382d66268ca0be70 (patch) | |
tree | c2eebec88e868c30ee58c34cab3bed81eb02f43f /nixos/tests | |
parent | eed30dfa5c87e6aca95850b1e16da4113275084a (diff) | |
download | nixpkgs-dc6451f08c9add6ffaacfef9382d66268ca0be70.tar nixpkgs-dc6451f08c9add6ffaacfef9382d66268ca0be70.tar.gz nixpkgs-dc6451f08c9add6ffaacfef9382d66268ca0be70.tar.bz2 nixpkgs-dc6451f08c9add6ffaacfef9382d66268ca0be70.tar.lz nixpkgs-dc6451f08c9add6ffaacfef9382d66268ca0be70.tar.xz nixpkgs-dc6451f08c9add6ffaacfef9382d66268ca0be70.tar.zst nixpkgs-dc6451f08c9add6ffaacfef9382d66268ca0be70.zip |
nixos/tests/certmgr: Fix file permissions
This test has been broken since 2a413da57efc4, which stopped running the nginx master process as root.
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/certmgr.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nixos/tests/certmgr.nix b/nixos/tests/certmgr.nix index cb69f35e862..ef32f54400e 100644 --- a/nixos/tests/certmgr.nix +++ b/nixos/tests/certmgr.nix @@ -9,8 +9,8 @@ let inherit action; authority = { file = { - group = "nobody"; - owner = "nobody"; + group = "nginx"; + owner = "nginx"; path = "/tmp/${host}-ca.pem"; }; label = "www_ca"; @@ -18,14 +18,14 @@ let remote = "localhost:8888"; }; certificate = { - group = "nobody"; - owner = "nobody"; + group = "nginx"; + owner = "nginx"; path = "/tmp/${host}-cert.pem"; }; private_key = { - group = "nobody"; + group = "nginx"; mode = "0600"; - owner = "nobody"; + owner = "nginx"; path = "/tmp/${host}-key.pem"; }; request = { |