You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Ravi Gummadi (JIRA)" <ji...@apache.org> on 2010/04/28 08:28:33 UTC

[jira] Updated: (HADOOP-6536) FileUtil.fullyDelete(dir) behavior is not defined when we pass a symlink as the argument

     [ https://issues.apache.org/jira/browse/HADOOP-6536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravi Gummadi updated HADOOP-6536:
---------------------------------

    Attachment: HADOOP-6536.patch

Attaching patch for trunk. This patch is on top of HADOOP-6631.

> FileUtil.fullyDelete(dir) behavior is not defined when we pass a symlink as the argument
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6536
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6536
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Ravi Gummadi
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6536.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.