# HG changeset patch # User weijun # Date 1313154290 -28800 # Node ID 175aa7fbe806a8758cc33054a7472bd465af7dae # Parent 06c93c42bca056f2b1bd0a2a1508642586b91921 7078355: sun/net/www/protocol/file/DirPermissionDenied.sh leaves garbage on some linux systems Reviewed-by: chegar diff -r 06c93c42bca0 -r 175aa7fbe806 jdk/test/sun/net/www/protocol/file/DirPermissionDenied.sh --- a/jdk/test/sun/net/www/protocol/file/DirPermissionDenied.sh Fri Aug 12 12:26:31 2011 +0800 +++ b/jdk/test/sun/net/www/protocol/file/DirPermissionDenied.sh Fri Aug 12 21:04:50 2011 +0800 @@ -37,5 +37,9 @@ $TESTJAVA/bin/java -classpath $TESTCLASSES DirPermissionDenied ${TESTDIR} result=$? + +# Add back read access for user, otherwise not removable on some systems +chmod u+r ${TESTDIR} + rm -rf ${TESTDIR} exit $result