[ http://jira.codehaus.org/browse/MASSEMBLY-104?page=comments#action_67928
]
Simon Goodall commented on MASSEMBLY-104:
-----------------------------------------
The problem is a bug in the number parsing.
The processFileList method in AbstractAssemblyMojo.java has the following line;
archiver.addFile( source, outputDirectory + "/" + destName,
Integer.parseInt( fileItem.getFileMode() ) );
which should read;
archiver.addFile( source, outputDirectory + "/" + destName,
Integer.parseInt( fileItem.getFileMode(), 8 )
);
> fileMode doesn't work with Cygwin
> ---------------------------------
>
> Key: MASSEMBLY-104
> URL: http://jira.codehaus.org/browse/MASSEMBLY-104
> Project: Maven 2.x Assembly Plugin
> Type: Bug
> Versions: 2.1
> Environment: Windows 2002 XP Pro running Cygwin
> Reporter: Mark Heinze
>
>
> The fileMode does not correctly set the permissions on the file. This happens
> in the <files><file></file></files> tag in the asssembly XML file. Any files
> copied with this tag ends up with strange permissions (including those with
> the default fileMode).
--
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