l sync-containers: fix permissions

This commit is contained in:
lassulus 2021-01-04 12:16:14 +01:00
parent 1cbdacb254
commit 480a2e15c0

View File

@ -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}" ({