netns-isolation: simplify permission definition for netns-exec

The new definition is equivalent to the old one.
This commit is contained in:
Erik Arvstedt 2021-02-01 22:53:09 +01:00
parent a587a2b02a
commit 0b5b29a2a3
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -105,7 +105,7 @@ in {
source = config.nix-bitcoin.pkgs.netns-exec; source = config.nix-bitcoin.pkgs.netns-exec;
capabilities = "cap_sys_admin=ep"; capabilities = "cap_sys_admin=ep";
owner = cfg.allowedUser; owner = cfg.allowedUser;
permissions = "u+rx,g+rx,o-rwx"; permissions = "550";
}; };
systemd.services = { systemd.services = {