diff options
Diffstat (limited to 'examples/hooks')
-rwxr-xr-x | examples/hooks/sun-java5.sh | 4 | ||||
-rwxr-xr-x | examples/hooks/sun-java6.sh | 4 |
2 files changed, 8 insertions, 0 deletions
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 |