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 "Ivan Mitic (JIRA)" <ji...@apache.org> on 2012/10/02 05:45:08 UTC
[jira] [Updated] (HADOOP-8868) FileUtil#chmod should normalize the
path before calling into shell APIs
[ https://issues.apache.org/jira/browse/HADOOP-8868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan Mitic updated HADOOP-8868:
-------------------------------
Description:
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.
was:
We have seen cases where paths passed in from FileUtil#symlink or 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.
Summary: FileUtil#chmod should normalize the path before calling into shell APIs (was: FileUtil#symlink and FileUtil#chmod should normalize the path before calling into shell APIs)
> 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
>
> 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