From 480a2e15c0f764841d1f3a575352a1914b77e824 Mon Sep 17 00:00:00 2001 From: lassulus Date: Mon, 4 Jan 2021 12:16:14 +0100 Subject: l sync-containers: fix permissions --- lass/3modules/sync-containers.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lass/3modules') diff --git a/lass/3modules/sync-containers.nix b/lass/3modules/sync-containers.nix index 990e3212..ca81458a 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}" ({ -- cgit v1.2.3