This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git
The following commit(s) were added to refs/heads/main by this push:
new 7432721de Remove group write permissions from the files in the tar.gz
source
7432721de is described below
commit 7432721dead61a301595d2fde0e1aacf43e416f8
Author: Mark Thomas <[email protected]>
AuthorDate: Thu Jan 8 13:33:45 2026 +0000
Remove group write permissions from the files in the tar.gz source
---
jnirelease.sh | 3 +++
xdocs/miscellaneous/changelog.xml | 4 ++++
2 files changed, 7 insertions(+)
diff --git a/jnirelease.sh b/jnirelease.sh
index dd3c2c641..9a2f5fe63 100755
--- a/jnirelease.sh
+++ b/jnirelease.sh
@@ -256,6 +256,9 @@ cd ${JKJNIDIST}/native
./buildconf --with-apr=$apr_src_dir || exit 1
cd "$top"
+# Remove write permissions from all but the owner
+chmod -R go-w ${JKJNIDIST}
+
# Create source distribution
tar -cf - ${JKJNIDIST} | gzip -c9 > ${JKJNIDIST}.tar.gz || exit 1
diff --git a/xdocs/miscellaneous/changelog.xml
b/xdocs/miscellaneous/changelog.xml
index 76e06c9a0..5698d65f7 100644
--- a/xdocs/miscellaneous/changelog.xml
+++ b/xdocs/miscellaneous/changelog.xml
@@ -33,6 +33,10 @@
</section>
<section name="Changes in 2.0.13">
<changelog>
+ <fix>
+ Remove group write permissions from the files in the tar.gz source
+ archive. (markt)
+ </fix>
</changelog>
</section>
<section name="Changes in 2.0.12">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]