[ https://issues.apache.org/jira/browse/MNG-7656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17653472#comment-17653472 ]
Michael Osipov commented on MNG-7656: ------------------------------------- My proposal is here: https://github.com/apache/maven-resolver/blob/35611879c6b5530b3bfaed6639fdd5cf696d77bd/maven-resolver-util/src/main/java/org/eclipse/aether/util/FileUtils.java#L98 Instead of {{Files#createTempFile()}} simple create a file with {{.tmp}} suffix. Done. > Dependencies copied to target have stricter permissions > ------------------------------------------------------- > > Key: MNG-7656 > URL: https://issues.apache.org/jira/browse/MNG-7656 > Project: Maven > Issue Type: Bug > Affects Versions: 3.9.0, 4.0.0-alpha-3 > Reporter: Moshe Elisha > Assignee: Tamas Cservenak > Priority: Major > Fix For: waiting-for-feedback > > Attachments: maven.log > > > Dependency JARs that were copied duringĀ "clean install" to target have read > and write permissions only to the user/owner and no permissions at all to the > group and others.("-rw-------") > Not sure if the issue is when maven downloads the JARs from the repo or when > the JARs are copied from the repo to the target (using > "dependency:3.4.0:copy-dependencies") -- This message was sent by Atlassian Jira (v8.20.10#820010)