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 "Suresh Srinivas (JIRA)" <ji...@apache.org> on 2010/04/16 22:47:26 UTC

[jira] Commented: (HADOOP-6703) Prevent renaming a file, symlink or directory to itself

    [ https://issues.apache.org/jira/browse/HADOOP-6703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12857966#action_12857966 ] 

Suresh Srinivas commented on HADOOP-6703:
-----------------------------------------

+1 for the patch.

> Prevent renaming a file, symlink or directory to itself
> -------------------------------------------------------
>
>                 Key: HADOOP-6703
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6703
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.22.0
>            Reporter: Eli Collins
>            Assignee: Eli Collins
>            Priority: Minor
>             Fix For: 0.22.0
>
>         Attachments: hadoop-6703-1.patch, hadoop-6703-2.patch
>
>
> Per HDFS-1088 let's throw a FileAlreadyExistsException if renaming a file, symlink or directory to itself, or a symlink to the file it links to. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira