This pull request sets umask 0027 before calling bind_socket(), such that sockets are not world readable.
If applied, this will fix the last part of #12 so that the issue can be closed.
Since Python 2 uses the notation 0027 and Python 3 uses the notation 0o027, the correct value is created from the string '0027'.
This pull request sets umask 0027 before calling
bind_socket()
, such that sockets are not world readable. If applied, this will fix the last part of #12 so that the issue can be closed.Since Python 2 uses the notation 0027 and Python 3 uses the notation 0o027, the correct value is created from the string '0027'.