The config and templates files get put in the archive as executable. They should be read only. We can see the strangess by looking at the test. https://github.com/bazelbuild/rules_pkg/blob/771d3685c80bc53a1c29263b4f1ca03809c0f1a6/pkg/tests/build_test.sh#L226
The config and templates files get put in the archive as executable. They should be read only.
We can see the strangess by looking at the test.
rules_pkg/pkg/tests/build_test.sh
Line 226 in 771d368