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

Directory has empty permission set in tarball created using fileSets with only fileMode defined

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 2.4
    • None
    • maven-archiver
    • None
    • Gentoo Linux
      Oracle Java JDK 7u55
      Maven 3.1.1

    Description

      Using the following in an assembly descriptor results in a directory with permissions 0000 for the output directory rather than the default or existing which makes the directory unusable until the permissions are changed (the permissions on the file match what is specified in fileMode).
      <fileSets>
      <fileSet>
      <directory>bin</directory>
      <outputDirectory>bin</outputDirectory>
      <fileMode>0755</fileMode>
      </fileSet>
      </fileSets>
      Full reproduction project is attached. Note that this does not reproduce on 2.2-b5. This also does not reproduce if an explicit <directoryMode> tag is added.

      Attachments

        1. massembly-reproduction-project.tar.gz
          0.7 kB
          Anthony Baldocchi

        Issue Links

          Activity

            People

              khmarbaise Karl Heinz Marbaise
              abaldocchi Anthony Baldocchi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: