[jira] [Commented] (MRESOURCES-236) Copying of files with permissions broken

2020-05-16 Thread Hudson (Jira)


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

Hudson commented on MRESOURCES-236:
---

Build unstable in Jenkins: Maven TLP » maven-shared-utils » master #57

See 
https://builds.apache.org/job/maven-box/job/maven-shared-utils/job/master/57/

> 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
>Assignee: Olivier Lamy
>Priority: Major
>
> 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
(v8.3.4#803005)


[jira] [Commented] (MRESOURCES-236) Copying of files with permissions broken

2020-03-30 Thread Magnus Reftel (Jira)


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

Magnus Reftel commented on MRESOURCES-236:
--

Bug still present in Maven Resource Plugin Version 3.1.0

> 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
>Priority: Major
>
> 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
(v8.3.4#803005)


[jira] [Commented] (MRESOURCES-236) Copying of files with permissions broken

2018-03-13 Thread Karl Heinz Marbaise (JIRA)

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

Karl Heinz Marbaise commented on MRESOURCES-236:


Best to stat contributing is to go on the dev mailing list and ask there...

> 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
>Priority: Major
>
> 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
(v7.6.3#76005)


[jira] [Commented] (MRESOURCES-236) Copying of files with permissions broken

2018-03-13 Thread Jonas Jurczok (JIRA)

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

Jonas Jurczok commented on MRESOURCES-236:
--

I thought this would be a good start to contribute to the maven ecosystem. But 
after reading the source for a while I'm actually confused regarding the best 
approach here :)

 

The resource plugin itself calls a 
[MavenResourcesFiltering|https://maven.apache.org/shared/maven-filtering/apidocs/org/apache/maven/shared/filtering/MavenResourcesFiltering.html]
 at [this 
line|[https://github.com/apache/maven-resources-plugin/blob/master/src/main/java/org/apache/maven/plugins/resources/ResourcesMojo.java#L342].]

 

This Filtering object is part of a [shared filtering 
library|http://svn.apache.org/viewvc/maven/shared/tags/maven-filtering-3.1.1/]  
and under the hood calls an 
[IOUtils|http://svn.apache.org/viewvc/maven/shared/tags/maven-shared-utils-3.2.0/src/main/java/org/apache/maven/shared/utils/io/IOUtil.java?view=markup#l172]
 method to actually copy the data. So in fact what we are doing is a simple 
binary copy of the source object somewhere deep down in a shared library (maybe 
I'm just repeating stuff that was obvious to everyone.. in this case sorry :) ).

 

What is the best solution for this problem? Because copying files with 
permissions seems reasonable, on the other hand having a shared library that 
actually focuses on filtering also know about file permissions (which are not 
part of the content but mere metadata to the filesystem node) seems to be the 
wrong place.

 

Initially I thought about adding a flag to the resource plugin 
('ignoreFilePermissions', defaulting to false for compatibility purposes). But 
the actual problem has to be fixed somewhere else.

Question to the people who are much more familiar with this lib/plugin: What 
would be your preferred solution?

> 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
>Priority: Major
>
> 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
(v7.6.3#76005)


[jira] [Commented] (MRESOURCES-236) Copying of files with permissions broken

2018-03-07 Thread Markus Rathgeb (JIRA)

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

Markus Rathgeb commented on MRESOURCES-236:
---

Bug still present in Maven Resource Plugin Version 3.0.2

> 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
>Priority: Major
>
> 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
(v7.6.3#76005)


[jira] [Commented] (MRESOURCES-236) Copying of files with permissions broken

2017-05-18 Thread dinwath (JIRA)

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

dinwath commented on MRESOURCES-236:


I have the same problem as Nikolai Grigoriev in  
https://issues.apache.org/jira/browse/MRESOURCES-132?focusedCommentId=15235927=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15235927

Tested with Maven 3.3.9 and maven-resource-plugin 2.6

> 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.15#6346)


[jira] [Commented] (MRESOURCES-236) Copying of files with permissions broken

2017-02-15 Thread Aleksander Rykalin (JIRA)

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

Aleksander Rykalin commented on MRESOURCES-236:
---

[INFO] Copying 6 resources
[DEBUG] file docker-compose.yml has a filtered file extension
[DEBUG] filering 
/home/user/Dropbox/src/project/elasticsearch/docker/docker-compose.yml to 
/home/user/Dropbox/src/project/elasticsearch/target/docker-compose.yml
[DEBUG] file log4j2.properties has a filtered file extension
[DEBUG] filering 
/home/user/Dropbox/src/project/elasticsearch/docker/config/log4j2.properties to 
/home/user/Dropbox/src/project/elasticsearch/target/config/log4j2.properties
[DEBUG] file elasticsearch.yml has a filtered file extension
[DEBUG] filering 
/home/user/Dropbox/src/project/elasticsearch/docker/config/elasticsearch.yml to 
/home/user/Dropbox/src/project/elasticsearch/target/config/elasticsearch.yml
[DEBUG] file docker-entrypoint.sh has a filtered file extension
[DEBUG] filering 
/home/user/Dropbox/src/project/elasticsearch/docker/docker-entrypoint.sh to 
/home/user/Dropbox/src/project/elasticsearch/target/docker-entrypoint.sh
[DEBUG] file .maven-dockerignore has a filtered file extension
[DEBUG] filering 
/home/user/Dropbox/src/project/elasticsearch/docker/.maven-dockerignore to 
/home/user/Dropbox/src/project/elasticsearch/target/.maven-dockerignore
[DEBUG] file Dockerfile has a filtered file extension
[DEBUG] filering /home/user/Dropbox/src/project/elasticsearch/docker/Dockerfile 
to /home/user/Dropbox/src/project/elasticsearch/target/Dockerfile
[INFO] 

~/src/elasticsearch $ ls -l docker/docker-entrypoint.sh 
-rwxr-xr-x 1 user user 747 Feb 15 12:27 docker/docker-entrypoint.sh
~/src/elasticsearch $ ls -l target/docker-entrypoint.sh 
-rw-r--r-- 1 user user 747 Feb 15 13:54 target/docker-entrypoint.sh



> 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.15#6346)


[jira] [Commented] (MRESOURCES-236) Copying of files with permissions broken

2017-01-24 Thread Guido Zockoll (JIRA)

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

Guido Zockoll commented on MRESOURCES-236:
--

Got the same here.

* Windows 7 / Linux
* Maven 3.3.9
* Java 8

A shell script marked as executable in git loses its executable flags while 
being copied and filtered.

The file was marked as executable with {{git update-index --chmod=+x foo.sh}}

So i thought the must be an windows problem. But it happens on Linux also


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


[jira] [Commented] (MRESOURCES-236) Copying of files with permissions broken

2017-01-04 Thread Martin d'Anjou (JIRA)

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

Martin d'Anjou commented on MRESOURCES-236:
---

Steps to 
[reproduce|https://issues.apache.org/jira/browse/MRESOURCES-132?focusedCommentId=15230726=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)