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

Guillaume Boué commented on MASSEMBLY-829:
------------------------------------------

I can reproduce the issue with version 2.6 of the plugin, but this is 
apparently already fixed in the latest 3.0.0-SNAPSHOT. Running the sample 
project with that version of the Assembly Plugin, I have:

{noformat}
$ mvn clean install
...
$ tar -tvf dist/target/assembly-fileMode-dist-1-SNAPSHOT-distribution.tar.gz
-rwxrwxr-x 0/0              34 2016-09-21 23:38 hello-world
{noformat}

which shows the expected 775 permissions.

> fileMode on a dependencySet with unpack does not work
> -----------------------------------------------------
>
>                 Key: MASSEMBLY-829
>                 URL: https://issues.apache.org/jira/browse/MASSEMBLY-829
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>          Components: dependencySet
>    Affects Versions: 2.6
>         Environment: linux
>            Reporter: Christophe Marchand
>            Priority: Blocker
>         Attachments: bug-maven-assembly-plugin.tar.gz
>
>
> {code:xml}
> <dependencySet>
>   <outputDirectory></outputDirectory>
>   <useProjectArtifact>false</useProjectArtifact>
>   <fileMode>775</fileMode>
>   <includes>
>     <include>top.marchand.mvn.bug:assembly-fileMode-shells</include>
>   </includes>
>   <unpack>true</unpack>
>   <unpackOptions>
>     <excludes>
>       <exclude>META-INF/**</exclude>
>       <exclude>META-INF</exclude>
>     </excludes>
>   </unpackOptions>
>   <scope>runtime</scope>
> </dependencySet>
> {code}
> Files from {{top.marchand.mvn.bug:assembly-fileMode-shells}} should be 
> runnable by everyone, and they are not.



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

Reply via email to