laurentgo commented on PR #41309:
URL: https://github.com/apache/arrow/pull/41309#issuecomment-2080316679

   I believe I found the issue. Recent version of `maven-jar-plugin` uses an 
updated version of `plexus-archiver` which will rewrite the jar content to fix 
modification time if the jar contains a `module-info.class` file. But as Java 
11 `jar` command does not support `--date` option, `plexus-archiver` implements 
a 
[fallback](https://github.com/codehaus-plexus/plexus-archiver/blob/8458ffacecb543c60dae8e618accbba96a6ff689/src/main/java/org/codehaus/plexus/archiver/jar/JarToolModularJarArchiver.java#L201)
 which relies on `Files#createTemp()` method. Unfortunately, the file created 
by this method has only user read/write permission and no group/others 
permissions.


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