You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (JIRA)" <ji...@apache.org> on 2019/03/21 12:49:00 UTC
[jira] [Closed] (MSHADE-290) Maven Shade Plugin does not preserve
the unix file permission of resources
[ https://issues.apache.org/jira/browse/MSHADE-290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Heinz Marbaise closed MSHADE-290.
--------------------------------------
Resolution: Cannot Reproduce
Unfortunately no feedback anymore.
> Maven Shade Plugin does not preserve the unix file permission of resources
> --------------------------------------------------------------------------
>
> Key: MSHADE-290
> URL: https://issues.apache.org/jira/browse/MSHADE-290
> Project: Maven Shade Plugin
> Issue Type: Bug
> Affects Versions: 3.1.1
> Environment: * Linux 4.15.0-23-generic GNU/Linux (Ubuntu 18.04)
> * OpenJDK Runtime Environment (build 1.8.0_171-8u171-b11-0ubuntu0.18.04.1-b11)
> * Apache Maven 3.5.2
> Reporter: Behrang Saeedzadeh
> Priority: Major
> Attachments: bug-report.zip
>
>
> A sample project to reproduce this is attached.
> Here are the steps to reproduce:
> # Extract the archive and CD into the project directory
> # run {{mvn clean package}}
> # {{cd target}}
> # Run {{unzip original-maven-shade-plugin-file-permissions-1.0-SNAPSHOT.jar -d original}}
> # Run {{unzip maven-shade-plugin-file-permissions-1.0-SNAPSHOT.jar -d shaded}}
> If you check the permission of the {{script.sh}} file in the {{original}} folder, it is 755:
> {code:java}
> $ ls -alh original/script.sh 13:54:34
> -rwxrwxr-x 1 24 Jun 17 13:52 original/script.sh*{code}
> However the permissions are changed in the files extracted in the {{shaded}} directory:
> {code:java}
> $ ls -alh shaded/script.sh 13:54:37
> -rw-rw-r-- 1 24 Jun 17 13:52 shaded/script.sh{code}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)