Change default permission (execute bit has no meaning on pipes)

This commit is contained in:
Kristóf Tóth 2019-05-04 22:50:08 +02:00
parent d56efa9c4b
commit 9f23ff1d6b

View File

@ -8,7 +8,7 @@ from .terminate_process_on_failure import terminate_process_on_failure
class PipeIOServer(ABC, Thread): class PipeIOServer(ABC, Thread):
def __init__(self, in_pipe=None, out_pipe=None, permissions=0o700): def __init__(self, in_pipe=None, out_pipe=None, permissions=0o600):
super().__init__() super().__init__()
self._in_pipe, self._out_pipe = in_pipe, out_pipe self._in_pipe, self._out_pipe = in_pipe, out_pipe
self._create_pipes(permissions) self._create_pipes(permissions)