This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 1.3.x
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git

commit fed8f13f8242a8c10d06ad12dae44b0da355cb26
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 643cd97cc..9cd04a0cd 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 fe52b4349..d7cd34440 100644
--- a/xdocs/miscellaneous/changelog.xml
+++ b/xdocs/miscellaneous/changelog.xml
@@ -33,6 +33,10 @@
 </section>
 <section name="Changes in 1.3.5">
   <changelog>
+    <fix>
+      Remove group write permissions from the files in the tar.gz source
+      archive. (markt)
+    </fix>
   </changelog>
 </section>
 <section name="Changes in 1.3.4">


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to