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

Klaus Reimer commented on MASSEMBLY-449:
----------------------------------------

Any news here? This bug is quite old and now I also stumbled over it when I 
tried to access the generated ZIP files with Midnight Commander. It gives me 
the error message "Inconsistent extfs archive". Midnight commander uses "unzip 
-Z" to get info about the ZIP. If I do this manually then I see broken 
directory permissions like this:

  ?rwsrwsrwt  2.0 unx        0 b- stor 10-Apr-11 15:41 ltray-1.0.0-SNAPSHOT/

Plugin Version 2.2-beta3 generates ZIP files with these permissions (And they 
are correct and working):

  drwxr-xr-x  2.0 unx        0 b- stor 10-Apr-11 15:55 ltray-1.0.0-SNAPSHOT/

So I reverted back to beta3, too, because I don't like it at all when Maven 
generates broken ZIP files.


> Permissions on directories in a zipped archive incorrect
> --------------------------------------------------------
>
>                 Key: MASSEMBLY-449
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-449
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-4
>            Reporter: James Kavanagh
>
> Using the following assembly plugin:
> {code:xml}
> <assembly>
>     <id>target-packaged</id>
>     <formats>
>         <format>zip</format>
>     </formats>
>     <includeBaseDirectory>false</includeBaseDirectory>
>     <moduleSets>
>         <moduleSet>
>             <includes>
>                 <include>*:core-env</include>
>             </includes>
>             <binaries>
>                 <attachmentClassifier>env</attachmentClassifier>
>                 <includeDependencies>false</includeDependencies>
>                 <unpack>true</unpack>
>             </binaries>
>         </moduleSet>
>         <moduleSet>
>             <includes>
>                 <include>*:data-bridge</include>
>             </includes>
>             <binaries>
>                 <attachmentClassifier>target</attachmentClassifier>
>                 <includeDependencies>false</includeDependencies>
>                 <unpack>true</unpack>
>             </binaries>
>         </moduleSet>
>         <moduleSet>
>             <includes>
>                 <include>*:web</include>
>             </includes>
>             <binaries>
>                 <attachmentClassifier>web</attachmentClassifier>
>                 <includeDependencies>false</includeDependencies>
>                 <unpack>true</unpack>
>             </binaries>
>         </moduleSet>
>     </moduleSets>
> </assembly>
> {code}
> When unzipping the result on a Linux host all the directory permissions have 
> been set to 777.
> If I revert the plugin version to 2.2-beta-3 the issue goes away.

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

        

Reply via email to