[
https://issues.apache.org/jira/browse/HADOOP-8868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13472952#comment-13472952
]
Bikas Saha commented on HADOOP-8868:
------------------------------------
So we are using JAVA API to resolve the path to a normalized form? Ideally the
FileUtil method could take File arguments instead of strings but we'd like to
avoid changing the public API.
In what cases can we get a mix of slashes on the string path?
> 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