setuid: fix warning: '.' should be ':'

This commit is contained in:
lassulus 2022-10-31 18:26:10 +01:00
parent c53bce0085
commit 3405347dff

View File

@ -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}