From 19ceb27e9ced352985a7cbc1df662d20db051648 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Thu, 30 Nov 2023 22:42:57 +0100 Subject: lib64 --- prog/jelka/wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prog/jelka/wrapper.py') diff --git a/prog/jelka/wrapper.py b/prog/jelka/wrapper.py index ad2f11d..4e496c7 100755 --- a/prog/jelka/wrapper.py +++ b/prog/jelka/wrapper.py @@ -37,7 +37,7 @@ buffer = mmap.mmap(shmf.fileno(), 0) cwd = "/" r, w = os.pipe() args = ["/jelka/vzorci/" + argv[1], str(w)] -pw_record = pwd.getpwnam("z") +pw_record = pwd.getpwnam("umetnik") os.chown("chroot/dev/shm/jelka", 0, pw_record.pw_gid) os.chmod("chroot/dev/shm/jelka", 0o660) env = os.environ.copy() -- cgit v1.2.3