zar3bski commented on issue #53:
URL: 
https://github.com/apache/apisix-python-plugin-runner/issues/53#issuecomment-1247753006

   ```python
       def __init__(self, config: NewServerConfig):
           self.fd = config.socket.file
           if os.path.exists(self.fd):
               os.remove(self.fd)
           os.chmod(self.fd, 766) # HERE
           self.sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
           self.sock.bind(self.fd)
           self.sock.listen(1024)
   ```
   
   Well, this works but, for security reasons, I am not quite happy with this 
permissive approach


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to