This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch 3.8.x in repository https://gitbox.apache.org/repos/asf/james-project.git
commit a0383666fbb018f0922cd21d14fcc742f0990a84 Author: Quan Tran <[email protected]> AuthorDate: Wed Nov 12 16:07:30 2025 +0700 [BUILD] Fix tmpfs permission mode cf https://github.com/opencontainers/runc/issues/4971 runc update recently has resulted in the default permissions on docker tmpfs being 0755 rather than the expected 1777, which makes OpenSearch tests failed to acquire the lock on file system. --- .../java/org/apache/james/backends/opensearch/DockerOpenSearch.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backends-common/opensearch/src/test/java/org/apache/james/backends/opensearch/DockerOpenSearch.java b/backends-common/opensearch/src/test/java/org/apache/james/backends/opensearch/DockerOpenSearch.java index e803d57fb2..57302c35d1 100644 --- a/backends-common/opensearch/src/test/java/org/apache/james/backends/opensearch/DockerOpenSearch.java +++ b/backends-common/opensearch/src/test/java/org/apache/james/backends/opensearch/DockerOpenSearch.java @@ -133,7 +133,7 @@ public interface DockerOpenSearch { static DockerContainer defaultContainer(String imageName) { return DockerContainer.fromName(imageName) - .withTmpFs(ImmutableMap.of("/usr/share/opensearch/data/nodes/0", "rw,size=200m")) + .withTmpFs(ImmutableMap.of("/usr/share/opensearch/data/nodes/0", "rw,size=200m,mode=1777")) .withExposedPorts(OS_HTTP_PORT) .withEnv("discovery.type", "single-node") .withEnv("DISABLE_INSTALL_DEMO_CONFIG", "true") @@ -228,7 +228,7 @@ public interface DockerOpenSearch { .withFileFromClasspath("conf/default.key", "auth-es/default.key") .withFileFromClasspath("Dockerfile", "auth-es/NginxDockerfile"))) .withExposedPorts(OS_HTTP_PORT) - .withTmpFs(ImmutableMap.of("/usr/share/opensearch/data/nodes/0", "rw,size=200m")) + .withTmpFs(ImmutableMap.of("/usr/share/opensearch/data/nodes/0", "rw,size=200m,mode=1777")) .withLogConsumer(frame -> LOGGER.debug("[NGINX] " + frame.getUtf8String())) .withNetwork(network) .withName("james-testing-nginx-" + UUID.randomUUID()); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
