RFR: JDK-8232092: (fs) Files::isWritable returns false on a writeable root directory (win)
Alan Bateman
Alan.Bateman at oracle.com
Tue Jul 14 15:03:09 UTC 2020
On 06/07/2020 22:59, Nikola Grcevski wrote:
> :
>
> The first issue seems related to substituted directories with volumes, or virtual drives on Windows. The problem happens if the Windows GetVolumePathNameW API is called with a virtual drive letter in the path, causing the API to return ERROR_INVALID_PARAMETER or error code 87.
Thanks for the mail on this. I think the new information here is that
Christian may be using "subst" or some other mechanism. He did mention
"virtual" but it wasn't clear what type of volume that was. This may be
enough to duplicate the problem. It is likely this is part of a large
piece of work to support subst, something the file system implementation
has never fully supported.
-Alan
More information about the nio-dev
mailing list