RFR (13) [testbug]: 8227422: sun/net/www/protocol/file/DirPermissionDenied.java failed on Windows 2016 because DirPermissionDenied directory has no read permission
Frank Yuan
frank.yuan at oracle.com
Wed Jul 10 06:03:12 UTC 2019
Hi Vyom
The test requires the directory to be unreadable.
Thanks
Frank
From: Vyom Tewari26 [mailto:vtewar26 at in.ibm.com]
Sent: Wednesday, July 10, 2019 1:53 PM
To: frank.yuan at oracle.com
Cc: net-dev at openjdk.java.net
Subject: Re: RFR (13) [testbug]: 8227422: sun/net/www/protocol/file/DirPermissionDenied.java failed on Windows 2016 because DirPermissionDenied directory has no read permission
Hi Frank,
thanks for fixing this issue, in test setup we are setting the permissions explicitly to 333, can we set the permissions 733 in test setup itself ?.
i changed the permission to 733 in test setup and run the test at my Linux box and test ran successfully without any problem.
thanks,
Vyom
----- Original message -----
From: "Frank Yuan" <frank.yuan at oracle.com <mailto:frank.yuan at oracle.com> >
Sent by: "net-dev" <net-dev-bounces at openjdk.java.net <mailto:net-dev-bounces at openjdk.java.net> >
To: <net-dev at openjdk.java.net <mailto:net-dev at openjdk.java.net> >
Cc:
Subject: [EXTERNAL] RFR (13) [testbug]: 8227422: sun/net/www/protocol/file/DirPermissionDenied.java failed on Windows 2016 because DirPermissionDenied directory has no read permission
Date: Wed, Jul 10, 2019 10:37 AM
Hi all
Would you like to review this patch?
Bug: https://bugs.openjdk.java.net/browse/JDK-8227422
Webrev: http://cr.openjdk.java.net/~fyuan/8227422/webrev.00/
In this patch, I add read permission before cleaning up the test directory to make sure the directory is removable on Windows system.
Thanks
Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/net-dev/attachments/20190710/04d89378/attachment-0001.html>
More information about the net-dev
mailing list