maven-issues mailing list archives

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


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:
git clone
cd maven-resource-permission-bug-132
mvn test
The test fails to execute the {{runme}} script. The permissions were not copied by maven,
resulting in this error:
{noformat} Cannot run program "/home/martin/tmp/maven-resource-permission-bug-132/target/test-classes/runme":
error=13, Permission denied
If I force the correct permissions by hand, the test passes:
chmod +x target/test-classes/runme
mvn test

was (Author: martinda):
Steps to [reproduce|].

> Copying of files with permissions broken
> ----------------------------------------
>                 Key: MRESOURCES-236
>                 URL:
>             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

View raw message