maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin d'Anjou (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (MRESOURCES-236) Copying of files with permissions broken
Date Wed, 04 Jan 2017 15:47:58 GMT

    [ https://issues.apache.org/jira/browse/MRESOURCES-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15798541#comment-15798541
] 

Martin d'Anjou edited comment on MRESOURCES-236 at 1/4/17 3:47 PM:
-------------------------------------------------------------------

I have isolated the problem and can reproduce it easily. I use Maven 3.0.5, and Java 8. The
steps to reproduce are:
{noformat}
git clone https://github.com/martinda/maven-resource-permission-bug-132
cd maven-resource-permission-bug-132
mvn test
{noformat}
The test fails to execute the {{runme}} script. The permissions were not copied by maven,
resulting in this error:
{noformat}
java.io.IOException: Cannot run program "/home/martin/tmp/maven-resource-permission-bug-132/target/test-classes/runme":
error=13, Permission denied
{noformat}
If I force the correct permissions by hand, the test passes:
{noformat}
chmod +x target/test-classes/runme
mvn test
{noformat}


was (Author: martinda):
Steps to [reproduce|https://issues.apache.org/jira/browse/MRESOURCES-132?focusedCommentId=15230726&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15230726].

> Copying of files with permissions broken
> ----------------------------------------
>
>                 Key: MRESOURCES-236
>                 URL: https://issues.apache.org/jira/browse/MRESOURCES-236
>             Project: Maven Resources Plugin
>          Issue Type: Bug
>          Components: copy
>    Affects Versions: 2.4.3
>            Reporter: Gili
>
> Please reopen MRESOURCES-132 as multiple reporters indicate that the bug still exists
(some provided more concrete repro steps).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message