[
https://jira.codehaus.org/browse/MASSEMBLY-698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anthony Baldocchi updated MASSEMBLY-698:
----------------------------------------
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.
was:
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.
> 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 also does not reproduce if an explicit <directoryMode> tag is
> added.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)