summaryrefslogtreecommitdiffstats
path: root/krebs/3modules
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-10-31 18:26:10 +0100
committerlassulus <lassulus@lassul.us>2022-10-31 18:26:10 +0100
commit3405347dff73d4ed694be28fa1644b3c0feaeb57 (patch)
treea1f2319b169e37a68c47a79a6ef52838a9779ddf /krebs/3modules
parentc53bce00857ac30f2485ce4bf77a1187c1cc33b7 (diff)
setuid: fix warning: '.' should be ':'
Diffstat (limited to 'krebs/3modules')
-rw-r--r--krebs/3modules/setuid.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/setuid.nix b/krebs/3modules/setuid.nix
index b141c7de4..e186478eb 100644
--- a/krebs/3modules/setuid.nix
+++ b/krebs/3modules/setuid.nix
@@ -69,7 +69,7 @@ with import <stockholm/lib>;
in /* sh */ ''
mkdir -p ${cfg.wrapperDir}
cp ${src} ${dst}
- chown ${cfg.owner}.${cfg.group} ${dst}
+ chown ${cfg.owner}:${cfg.group} ${dst}
chmod ${cfg.mode} ${dst}
${optionalString (cfg.capabilities != []) /* sh */ ''
${pkgs.libcap.out}/bin/setcap ${concatMapStringsSep "," shell.escape cfg.capabilities} ${dst}