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

Bikas Saha commented on HADOOP-8868:
------------------------------------

Ok. This also avoids cases where a path is composed of a root path from 
config/default which might contain / and a subpath from locaFS that contains a 
\.
+1
                
> FileUtil#chmod should normalize the path before calling into shell APIs
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-8868
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8868
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 1-win
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>         Attachments: HADOOP-8868.branch-1-win.chmod.patch
>
>
> We have seen cases where paths passed in from FileUtil#chmod to Shell APIs 
> can contain both forward and backward slashes on Windows.
> This causes problems, since some Windows APIs do not work well with mixed 
> slashes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to