[SCM] Debian Live build scripts branch, master, updated. 1.0.2-4-25-gb621d22

Daniel Baumann daniel at debian.org
Fri Jan 23 22:12:10 UTC 2009


The following commit has been merged in the master branch:
commit b621d225e9bf4e31058822ced8d176e94fd0aee7
Author: Daniel Baumann <daniel at debian.org>
Date:   Fri Jan 23 23:02:52 2009 +0100

    Making sure that /tmp has the right permissions after installing sun-java*-doc through sun-java example hooks. Apparently, sun-java*-doc packages are tampering with it.

diff --git a/examples/hooks/sun-java5.sh b/examples/hooks/sun-java5.sh
index e38ebaa..139efd5 100755
--- a/examples/hooks/sun-java5.sh
+++ b/examples/hooks/sun-java5.sh
@@ -22,3 +22,7 @@
 DEBIAN_FRONTEND="dialog" apt-get install --yes sun-java5-bin sun-java5-demo \
 	sun-java5-doc sun-java5-fonts sun-java5-jdk sun-java5-jre \
 	sun-java5-plugin sun-java5-source
+
+# Ensure that /tmp has the right permissions; apparently sun-java5-doc tampers
+# with it
+chmod 1777 /tmp
diff --git a/examples/hooks/sun-java6.sh b/examples/hooks/sun-java6.sh
index 71d5974..c86066f 100755
--- a/examples/hooks/sun-java6.sh
+++ b/examples/hooks/sun-java6.sh
@@ -22,3 +22,7 @@
 DEBIAN_FRONTEND="dialog" apt-get install --yes sun-java6-bin sun-java6-demo \
 	sun-java6-doc sun-java6-fonts sun-java6-jdk sun-java6-jre \
 	sun-java6-plugin sun-java6-source
+
+# Ensure that /tmp has the right permissions; apparently sun-java5-doc tampers
+# with it
+chmod 1777 /tmp

-- 
Debian Live build scripts



More information about the debian-live-changes mailing list