bzp2010 commented on code in PR #318:
URL: 
https://github.com/apache/apisix-java-plugin-runner/pull/318#discussion_r1972773706


##########
runner-core/src/main/java/org/apache/apisix/plugin/runner/server/ApplicationRunner.java:
##########
@@ -123,6 +136,35 @@ public void start(String path) throws Exception {
         }
     }
 
+    private static void manageSocketPermissions(String socketFile) throws 
IOException {
+        Runtime.getRuntime().exec("chmod 700 " + socketFile);
+
+        if (!SOCKET_ALLOWED_USERS.isEmpty()) {
+            
Optional.ofNullable(Files.getFileAttributeView(Paths.get(socketFile), 
AclFileAttributeView.class))
+                .orElseThrow(() -> new UnsupportedOperationException("ACLs are 
not supported on this filesystem."))

Review Comment:
   Does the container support ACLs? The overlayfs doesn't seem to support it.



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