Merge pull request #5459 from eclipse/jetty-10.0.x-fix-jetty-home-assembly-modes

Fix archive assemblies (tar.gz and zip) to have fixed file/dir modes.
This commit is contained in:
Joakim Erdfelt 2020-10-19 12:52:39 -05:00 committed by GitHub
commit 6bff0d2d3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -14,7 +14,19 @@
<excludes>
<exclude>**/META-INF/**</exclude>
<exclude>*-config.jar</exclude>
<!-- we'll build up shell scripts with execute in separate file-set -->
<exclude>bin/*.sh</exclude>
</excludes>
<fileMode>0400</fileMode>
<directoryMode>0700</directoryMode>
</fileSet>
<fileSet>
<directory>${assembly-directory}</directory>
<outputDirectory></outputDirectory>
<includes>
<include>bin/*.sh</include>
</includes>
<fileMode>0500</fileMode>
</fileSet>
</fileSets>
</assembly>