For some reason, tars produced with "mvn site assembly:assembly" contained files which were all executable, even NOTICE and such plain text files. This is wrong of course, but shouldn't have been the case, because regarding the maven documentation, 0644 is the default unless specified otherwise. I make sure now by defining all the permissions I want.
https://maven.apache.org/plugins/maven-assembly-plugin/assembly.html Project: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/commit/60f87133 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/tree/60f87133 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/diff/60f87133 Branch: refs/heads/master Commit: 60f871330ceccb71fc11819422f8c5e2d62913f3 Parents: e66f71c Author: Thorsten Schöning <[email protected]> Authored: Thu Mar 24 19:55:58 2016 +0000 Committer: Thorsten Schöning <[email protected]> Committed: Thu Mar 24 19:55:58 2016 +0000 ---------------------------------------------------------------------- src/assembly/source.xml | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4cxx/blob/60f87133/src/assembly/source.xml ---------------------------------------------------------------------- diff --git a/src/assembly/source.xml b/src/assembly/source.xml index bdc7e94..59a9296 100644 --- a/src/assembly/source.xml +++ b/src/assembly/source.xml @@ -83,6 +83,8 @@ <exclude>**/.deps/**</exclude> <exclude>**/.svn</exclude> </excludes> + <fileMode>0644</fileMode> + <directoryMode>0755</directoryMode> </fileSet> <fileSet> <directory>target</directory> @@ -97,6 +99,7 @@ <exclude>apr*.ds*</exclude> <exclude>xml.ds*</exclude> </excludes> + <fileMode>0644</fileMode> </fileSet> </fileSets> </assembly>
