You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org> on 2013/11/01 20:31:52 UTC

[jira] (MASSEMBLY-661) Assembly plugin looses permissions when using fileSets

    [ https://jira.codehaus.org/browse/MASSEMBLY-661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=335027#comment-335027 ] 

Kristian Rosenvold commented on MASSEMBLY-661:
----------------------------------------------

I just tested this on the official maven distribution;

{code}
    git clone https://git-wip-us.apache.org/repos/asf/maven.git
    cd maven
    mvm clean install
    cd apache-maven/target
{code}
    
extract zip file and tar file, the files in the "bin" folder seem to have the x bit set properly ?

this *might* be os/java version/file system specific, so please test the same.
                
> Assembly plugin looses permissions when using fileSets
> ------------------------------------------------------
>
>                 Key: MASSEMBLY-661
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-661
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>          Components: permissions
>    Affects Versions: 2.4
>         Environment: RHEL5, Maven 2.2.1
>            Reporter: Eric Haszlakiewicz
>         Attachments: pom.xml
>
>
> When using an assembly descriptor that uses fileSets to include files the permissions of the files from the file system are not preserved in the tarballs.
> This can be reproduced by creating a file with the executable bit set in the "src" directory, then trying to use the pre-defined "src" descriptorRef to create a tarball.  See the attached pom file for an example.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira