Files.createDirectories throws AccessDeniedException for an existing directory

Brian Burkhalter brian.burkhalter at oracle.com
Tue Dec 3 21:49:22 UTC 2024


Hi Ole,

On Nov 29, 2024, at 2:13 PM, Ole SH <ole.sh at gmx.de> wrote:

To address your problem then the safest approach would appear to be overriding createDirectory() in LinuxFileSystemProvider to have the desired behavior, such as was done on Windows.


As a "user" of the API I would appreciate such a change.

I filed https://bugs.openjdk.org/browse/JDK-8345430 to track this proposal.

Best regards,

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/nio-dev/attachments/20241203/03249f72/attachment-0001.htm>


More information about the nio-dev mailing list