From 1a4ff3e443d5034ae8efadb0407904f1f51a519c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 23 Jan 2009 23:02:52 +0100 Subject: 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. --- examples/hooks/sun-java5.sh | 4 ++++ examples/hooks/sun-java6.sh | 4 ++++ 2 files changed, 8 insertions(+) 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 -- cgit v1.0