Hi,

Someone complained that the files in the 1.3.9 release tarball have
rw-rw-rw- mode. In the 1.3.10 release tarball the files are rw-rw-r--.

Danielsh suggested to set the umask to 022 before the svn export step,
something like this:

[[[
Index: dist.sh
===================================================================
--- dist.sh     (revision 1926662)
+++ dist.sh     (working copy)
@@ -27,6 +27,9 @@
 mkdir "${work}"
 cd "${work}"

+# SERF-181: Source tarball file mods are group- and world-writable
+umask 022
+
 echo "Exporting latest serf ..."
 svn export --quiet "${url}" "${release}" || exit 1
 echo "`find ${release} -type f | wc -l` files exported"
]]]

Anyone see a downside to this?

Cheers,
Daniel

Reply via email to