l sync: permown -> acl

This commit is contained in:
lassulus 2022-05-29 20:06:11 +02:00
parent 0be35f266f
commit d183d5e795
3 changed files with 10 additions and 18 deletions

View File

@ -3,9 +3,8 @@
path = "/home/lass/decsync"; path = "/home/lass/decsync";
devices = [ "mors" "blue" "green" "phone" ]; devices = [ "mors" "blue" "green" "phone" ];
}; };
krebs.permown."/home/lass/decsync" = {
owner = "lass"; krebs.acl."/home/lass/decsync"."u:syncthing:X".parents = true;
group = "syncthing"; krebs.acl."/home/lass/decsync"."u:syncthing:rwX" = {};
umask = "0007"; krebs.acl."/home/lass/decsync"."u:lass:rwX" = {};
};
} }

View File

@ -2,12 +2,7 @@
services.syncthing.folders."/home/lass/sync" = { services.syncthing.folders."/home/lass/sync" = {
devices = [ "mors" "icarus" "xerxes" "shodan" "green" "blue" "coaxmetal" ]; devices = [ "mors" "icarus" "xerxes" "shodan" "green" "blue" "coaxmetal" ];
}; };
krebs.permown."/home/lass/sync" = { krebs.acl."/home/lass/sync"."u:syncthing:X".parents = true;
file-mode = "u+rw,g+rw"; krebs.acl."/home/lass/sync"."u:syncthing:rwX" = {};
owner = "lass"; krebs.acl."/home/lass/sync"."u:lass:rwX" = {};
group = "syncthing";
umask = "0002";
keepGoing = true;
};
} }

View File

@ -1,8 +1,6 @@
{ {
services.syncthing.folders."/home/lass/.weechat".devices = [ "green" "mors" ]; services.syncthing.folders."/home/lass/.weechat".devices = [ "green" "mors" ];
krebs.permown."/home/lass/.weechat" = { krebs.acl."/home/lass/.weechat"."u:syncthing:X".parents = true;
owner = "lass"; krebs.acl."/home/lass/.weechat"."u:syncthing:rwX" = {};
group = "syncthing"; krebs.acl."/home/lass/.weechat"."u:lass:rwX" = {};
umask = "0007";
};
} }