Treatment was not enough
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
813379fea9
commit
e2dfdbf580
@ -58,7 +58,7 @@ def make_unix_socket(style, nonblock, bind_path, connect_path):
|
||||
if sys.hexversion >= 0x02060000:
|
||||
os.fchmod(sock.fileno(), 0o700)
|
||||
else:
|
||||
os.chmod("/dev/fd/%d" % sock.fileno(), 0700)
|
||||
os.chmod("/dev/fd/%d" % sock.fileno(), 0o700)
|
||||
except OSError as e:
|
||||
pass
|
||||
if connect_path is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user