diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-12-01 00:08:51 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-12-01 00:08:51 +0100 |
commit | 2c87f8bd0e28ffcda4e297b5edc643c30cd84e59 (patch) | |
tree | 23151e8d11d03fec01b47c9358f2066ec1c40053 /prog/jelka/wrapper.py | |
parent | lib64 (diff) | |
download | r-2c87f8bd0e28ffcda4e297b5edc643c30cd84e59.tar r-2c87f8bd0e28ffcda4e297b5edc643c30cd84e59.tar.gz r-2c87f8bd0e28ffcda4e297b5edc643c30cd84e59.tar.bz2 r-2c87f8bd0e28ffcda4e297b5edc643c30cd84e59.tar.lz r-2c87f8bd0e28ffcda4e297b5edc643c30cd84e59.tar.xz r-2c87f8bd0e28ffcda4e297b5edc643c30cd84e59.tar.zst r-2c87f8bd0e28ffcda4e297b5edc643c30cd84e59.zip |
Diffstat (limited to 'prog/jelka/wrapper.py')
-rwxr-xr-x | prog/jelka/wrapper.py | 2 |
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): |