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.

This commit is contained in:
Daniel Baumann 2009-01-23 23:02:52 +01:00
parent 6193ef2285
commit 1a4ff3e443
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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