On 1/15/07, Adam Lally <[EMAIL PROTECTED]> wrote:
I tried setting the Maven descriptors' <fileMode> setting to 644 (-rw-r--r--), but it did not seem to have any affect. It might be a Maven bug.
Aha.. it is a known bug: http://jira.codehaus.org/browse/MASSEMBLY-173 The <fileMode> element of the descriptor is incorrectly treated as decimal rather than octal. When I specified a value of 422 (decimal equivalent of octal 644) I did get the correct permission rw-r--r--. Apparently, this bug also applied to the default permission - I will post that information to the Maven JIRA and vote for the issue. I'll commit the workarounds shortly and close our JIRA issue. -Adam
