You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Anthony Baldocchi (JIRA)" <ji...@codehaus.org> on 2014/04/24 00:27:10 UTC

[jira] (MASSEMBLY-698) Directory has empty permission set in tarball created using fileSets with only fileMode defined

Anthony Baldocchi created MASSEMBLY-698:
-------------------------------------------

             Summary: Directory has empty permission set in tarball created using fileSets with only fileMode defined
                 Key: MASSEMBLY-698
                 URL: https://jira.codehaus.org/browse/MASSEMBLY-698
             Project: Maven Assembly Plugin
          Issue Type: Bug
          Components: maven-archiver
    Affects Versions: 2.4
         Environment: Gentoo Linux
Oracle Java JDK 7u55
Maven 3.1.1
            Reporter: Anthony Baldocchi
         Attachments: massembly-reproduction-project.tar.gz

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 message was sent by Atlassian JIRA
(v6.1.6#6162)