summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-01-04 12:16:14 +0100
committerlassulus <lassulus@lassul.us>2021-01-04 12:49:54 +0100
commit480a2e15c0f764841d1f3a575352a1914b77e824 (patch)
treecb51c3f22b693cc20aeb6bc76ac3b8a4ce8c7686
parent1cbdacb2546adb640143b4ea9db2cac56cfc6f33 (diff)
l sync-containers: fix permissions
-rw-r--r--lass/3modules/sync-containers.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/lass/3modules/sync-containers.nix b/lass/3modules/sync-containers.nix
index 990e32127..ca81458a9 100644
--- a/lass/3modules/sync-containers.nix
+++ b/lass/3modules/sync-containers.nix
@@ -97,9 +97,10 @@ in {
})) cfg.containers);
krebs.permown = (mapAttrs' (_: ctr: nameValuePair "${(paths ctr.name).${ctr.format}}" ({
- owner = "root";
- group = "syncthing";
- umask = "0007";
+ file-mode = "u+rw";
+ directory-mode = "u+rwx";
+ owner = "syncthing";
+ keepGoing = false;
})) cfg.containers);
systemd.services = mapAttrs' (n: ctr: nameValuePair "containers@${ctr.name}" ({