Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.1
-
None
-
None
-
linux
Description
I'm trying to include files like this:
<files>
<file>
<source>README</source>
<filtered>true</filtered>
</file>
<file>
<source>src/blah</source>
</file>
</files>
I'm packaging them as both .tar.gz and .zip. In the tarball, the files wind up with mode 0204:
-w--r-
In the zip file, they wind up with mode 1204:
-w---r-T
Using a <fileMode> element of 644 does not fix the problem. This only happens for files specified in <files>, not <fileSets>. It happens whether I use filtering or not.
These are pretty weird modes. I don't think this is a duplicate of MASSEMBLY-75. It's not just losing the mode I set; it's assigning a very peculiar mode as if with a mind of its own.
My umask is 0002.
Paul