Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-576

FileUtils.deleteDirectory() doesn't specify how it handles links

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5
    • 2.12.0
    • Utilities
    • Linux

    Description

      If the directory I specify to FileUtils.deleteDirectory() contains a symbolic link, does it follow the link and delete all the files the link points to?

      (I HOPE not!)

      But without the promise, I consider this too dangerous to contemplate using.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cogen david cogen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: