-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b20
-
generic
-
windows
A DESCRIPTION OF THE PROBLEM :
When the user attempts to create a symbolic link, Windows requires the user to have the SeCreateSymbolicLinkPrivilege privilege. Otherwise, Windows error code ERROR_PRIVILEGE_NOT_HELD (1314) will be returned and translated to a java.nio.file.FileSystemException. The JDK translates only the code ERROR_ACCESS_DENIED (5) to java.nio.file.AccessDeniedException; the ERROR_PRIVILEGE_NOT_HELD code should also be.
When the user attempts to create a symbolic link, Windows requires the user to have the SeCreateSymbolicLinkPrivilege privilege. Otherwise, Windows error code ERROR_PRIVILEGE_NOT_HELD (1314) will be returned and translated to a java.nio.file.FileSystemException. The JDK translates only the code ERROR_ACCESS_DENIED (5) to java.nio.file.AccessDeniedException; the ERROR_PRIVILEGE_NOT_HELD code should also be.
- links to
-
Commit(master)
openjdk/jdk/65b8fe62
-
Review(master)
openjdk/jdk/27753