You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Wendy Chien (JIRA)" <ji...@apache.org> on 2006/09/07 02:56:23 UTC

[jira] Commented: (HADOOP-423) file paths are not normalized

    [ http://issues.apache.org/jira/browse/HADOOP-423?page=comments#action_12433008 ] 
            
Wendy Chien commented on HADOOP-423:
------------------------------------

To fix this, we'll detect and normalize relative paths in the Path class.  For backwards compatibility, we'll allow people to rename or remove existing files/dirs that contain '.' or '..' .  Or do people think that's not necessary because it's unlikely anyone has been using '.' and '..' in their paths intentionally?  (Though I suppose if they did unintentionally, it might be nice to let them remove them.)
      

> file paths are not normalized
> -----------------------------
>
>                 Key: HADOOP-423
>                 URL: http://issues.apache.org/jira/browse/HADOOP-423
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.4.0
>            Reporter: Christian Kunz
>         Assigned To: Wendy Chien
>             Fix For: 0.6.0
>
>
> Paths containing  '.' or '..' are not normalized -- the corresponding directories actually seem to be created. This is inconsistent and unexpected behavior, and  is particularly painful when running from a working directory, using relative paths that start with ...

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