summaryrefslogtreecommitdiffstats
path: root/prog/jelka/wrapper.py
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-11-30 22:42:57 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2023-11-30 22:42:57 +0100
commit19ceb27e9ced352985a7cbc1df662d20db051648 (patch)
tree8e484d8493da3f5a76e6d3d9589987178d603359 /prog/jelka/wrapper.py
parentchrootjelka (diff)
downloadr-19ceb27e9ced352985a7cbc1df662d20db051648.tar
r-19ceb27e9ced352985a7cbc1df662d20db051648.tar.gz
r-19ceb27e9ced352985a7cbc1df662d20db051648.tar.bz2
r-19ceb27e9ced352985a7cbc1df662d20db051648.tar.lz
r-19ceb27e9ced352985a7cbc1df662d20db051648.tar.xz
r-19ceb27e9ced352985a7cbc1df662d20db051648.tar.zst
r-19ceb27e9ced352985a7cbc1df662d20db051648.zip
Diffstat (limited to 'prog/jelka/wrapper.py')
-rwxr-xr-xprog/jelka/wrapper.py2
1 files changed, 1 insertions, 1 deletions
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()