BlackEragon opened a new issue #78:
URL: https://github.com/apache/apisix-java-plugin-runner/issues/78


   ### Issue description
   socket type file permissions not set accurately after 
apisix-java-plugin-runner automatically create this file when it starts,Why not 
set the file permissions after automatically create in the code?
   like:
   ···
           logger.warn("java runner is listening on the socket file: {}", 
socketFile);
           Runtime.getRuntime().exec("chmod 766 " + socketFile);
   ···
   
   ### Environment
   
   * your apisix-java-plugin-runner version
   
   ### What's the actual result? (including assertion message & call stack if 
applicable)
   
   phase_func(): failed to connect to the unix socket unix:/tmp/runner.sock: 
permission denied
   
   ### What's the expected result?
   
   This will not need to manually execute the command in docker.
   


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