files included with the <file> tag have fileMode 204
----------------------------------------------------

                 Key: MASSEMBLY-153
                 URL: http://jira.codehaus.org/browse/MASSEMBLY-153
             Project: Maven 2.x Assembly Plugin
          Issue Type: Bug
    Affects Versions: 2.1
         Environment: linux
            Reporter: Paul Jungwirth
            Priority: Minor


I'm trying to include files like this:

<files>
  <file>
    <source>README</source>
    <filtered>true</filtered>
  </file>
  <file>
    <source>src/blah</source>
  </file>
</files>

I'm packaging them as both .tar.gz and .zip. In the tarball, the files wind up 
with mode 0204:

--w----r--

In the zip file, they wind up with mode 1204:

--w----r-T

Using a <fileMode> element of 644 does not fix the problem. This only happens 
for files specified in <files>, not <fileSets>. It happens whether I use 
filtering or not.

These are pretty weird modes. I don't think this is a duplicate of 
MASSEMBLY-75. It's not just losing the mode I set; it's assigning a very 
peculiar mode as if with a mind of its own.

My umask is 0002.

Paul


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