SkyeYoung commented on code in PR #54:
URL: 
https://github.com/apache/apisix-python-plugin-runner/pull/54#discussion_r972703501


##########
apisix/runner/server/server.py:
##########
@@ -82,6 +84,7 @@ def __init__(self, config: NewServerConfig):
             os.remove(self.fd)
         self.sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
         self.sock.bind(self.fd)
+        os.chown(self.fd, getpwnam('nobody').pw_uid, 
grp.getgrnam('nobody').gr_gid)

Review Comment:
   > Is there a way I could identify it programmatically (with an ENV var)? Is 
there a reliable way to find APISIX conf file?
   
   It seems that this will make the matter more complicated. 🤔 



-- 
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