l sync-containers: fix permissions
This commit is contained in:
parent
1cbdacb254
commit
480a2e15c0
@ -97,9 +97,10 @@ in {
|
|||||||
})) cfg.containers);
|
})) cfg.containers);
|
||||||
|
|
||||||
krebs.permown = (mapAttrs' (_: ctr: nameValuePair "${(paths ctr.name).${ctr.format}}" ({
|
krebs.permown = (mapAttrs' (_: ctr: nameValuePair "${(paths ctr.name).${ctr.format}}" ({
|
||||||
owner = "root";
|
file-mode = "u+rw";
|
||||||
group = "syncthing";
|
directory-mode = "u+rwx";
|
||||||
umask = "0007";
|
owner = "syncthing";
|
||||||
|
keepGoing = false;
|
||||||
})) cfg.containers);
|
})) cfg.containers);
|
||||||
|
|
||||||
systemd.services = mapAttrs' (n: ctr: nameValuePair "containers@${ctr.name}" ({
|
systemd.services = mapAttrs' (n: ctr: nameValuePair "containers@${ctr.name}" ({
|
||||||
|
Loading…
Reference in New Issue
Block a user