(fs) Windows Error code 1314 not translated to AccessDeniedException (win)

XMLWordPrintable

    • 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.


            Assignee:
            Brian Burkhalter
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: