Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-153

files included with the <file> tag have fileMode 204

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1
    • 2.2-beta-1
    • None
    • None
    • linux

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            pjungwir Paul Jungwirth
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: