maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabe McArthur (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MASSEMBLY-75) Unpacked TAR dependencies do not preserve file mode nor uid/gid
Date Thu, 27 Aug 2009 03:09:41 GMT

    [ http://jira.codehaus.org/browse/MASSEMBLY-75?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=188746#action_188746
] 

Gabe McArthur commented on MASSEMBLY-75:
----------------------------------------

Tested with 2.2-beta-4, and it's still not fixed.  What gives?  This has supposedly been closed,
but I unpackage from a ZIP archive into a TAR.GZ archive, and I get no file permissions at
all.  Seriously, not even read on the user level: I get '-------'.  How screwy is that?  Why
is this not tested/fixed after 8 months?

> Unpacked TAR dependencies do not preserve file mode nor uid/gid
> ---------------------------------------------------------------
>
>                 Key: MASSEMBLY-75
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-75
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>            Reporter: Maciej Szefler
>            Assignee: John Casey
>             Fix For: 2.2-beta-3
>
>
> "TAR" Assemblies generated from unpacking another TAR do not preserver the extended file
information (uid/gid/mod). For example:
> if bar.tar contains an executable file "baz" and
> if our .pom has the following dependency:
>     <dependency>
>       <groupId>foo</groupId>
>       <artifactId>bar</artifactId>
>       <type>tar</type>
>       <scope>compile</scope>
>     </dependency>
> and our assembly.xml has the following:
> <assembly>
>     <id></id>
>     <formats>
>         <format>tar.gz</format>
>     </formats>
> ....
>    <dependencySets>
>         <dependencySet>
>             <scope>compile</scope>
>             <outputDirectory/>
>             <includes>
>                 <include>foo:bar</include>
>             </includes>
>             <unpack>true</unpack>
>         </dependencySet>
> then the generated assembly will contain "baz", but it will no longer be executable.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message