Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-1753

FilePath.deleteRecursive breaks with cyclic symbolic links

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • other
    • None
    • Platform: All, OS: All

      A simple test case of doing "ln -s test test" in the workspace, and then trying
      to delete the directory results in a failure with a stacktrace in the
      deleteRecursive method - the canonicalPath method of File is the ultimate cause
      of the exception, since it doesn't like cyclic symbolic links.

            Unassigned Unassigned
            mdonohue mdonohue
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: