Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6536

FileUtil.fullyDelete(dir) behavior is not defined when we pass a symlink as the argument

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.22.0
    • fs
    • None
    • Reviewed

    Description

      FileUtil.fullyDelete(dir) deletes contents of sym-linked directory when we pass a symlink. If this is the behavior, it should be documented as so.
      Or it should be changed not to delete the contents of the sym-linked directory.

      Attachments

        1. HADOOP-6536.patch
          3 kB
          Ravi Gummadi
        2. HADOOP-6536.v1.1.patch
          5 kB
          Ravi Gummadi
        3. HADOOP-6536.v1.patch
          3 kB
          Ravi Gummadi

        Activity

          People

            ravidotg Ravi Gummadi
            amareshwari Amareshwari Sriramadasu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: