summaryrefslogtreecommitdiffstats
path: root/prog/jelka/wrapper.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 4e496c7..4b287a7 100755
--- a/prog/jelka/wrapper.py
+++ b/prog/jelka/wrapper.py
@@ -47,7 +47,7 @@ env["PWD"] = cwd
env["USER"] = pw_record.pw_name
env["PYTHONPATH"] = "/jelka"
process = subprocess.Popen(
- args, preexec_fn=demote(pw_record.pw_uid, pw_record.pw_uid, os.path.abspath("chroot")), cwd=cwd, env=env, pass_fds=[w]
+ args, preexec_fn=demote(pw_record.pw_uid, pw_record.pw_gid, os.path.abspath("chroot")), cwd=cwd, env=env, pass_fds=[w]
)
try:
while io.FileIO(r, closefd=False).read(1):