From: Daan De Meyer Date: Tue, 28 May 2024 12:37:52 +0000 (+0200) Subject: Fix typo X-Git-Tag: v23.1~44^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=475d635d8e74f91fe34f83c2a0f453fbc31d769d;p=thirdparty%2Fmkosi.git Fix typo --- diff --git a/mkosi/qemu.py b/mkosi/qemu.py index 374d507f0..6855d9844 100644 --- a/mkosi/qemu.py +++ b/mkosi/qemu.py @@ -353,7 +353,7 @@ def start_virtiofsd(config: Config, directory: PathString, *, name: str, selinux scope = [] if uidmap: uid = INVOKING_USER.uid if os.getuid() != INVOKING_USER.uid else None - gid = INVOKING_USER.gid if os.getuid() != INVOKING_USER.uid else None + gid = INVOKING_USER.gid if os.getgid() != INVOKING_USER.gid else None scope = scope_cmd(name=name, description=description, user=uid, group=gid) elif not uidmap and (os.getuid() == 0 or unshare_version() >= "2.38"): runas = become_root_cmd()