From 2450e9e3e5b3d48903a01193f093540c61fe3d72 Mon Sep 17 00:00:00 2001 From: Oleksii Shevchuk Date: Mon, 15 May 2017 09:43:28 +0300 Subject: [PATCH] Fix chown args --- pupy/packages/linux/all/ptyshell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pupy/packages/linux/all/ptyshell.py b/pupy/packages/linux/all/ptyshell.py index c09bf7c3..c453af85 100644 --- a/pupy/packages/linux/all/ptyshell.py +++ b/pupy/packages/linux/all/ptyshell.py @@ -33,7 +33,7 @@ def prepare(suid, slave): try: if slave: path = os.ttyname(slave) - os.chown(path, suid) + os.chown(path, suid, sgid) except: pass