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 "Attila Bukor (JIRA)" <ji...@apache.org> on 2017/02/10 20:55:42 UTC
[jira] [Created] (HADOOP-14075) chown doesn't work with usernames
containing '\' character
Attila Bukor created HADOOP-14075:
-------------------------------------
Summary: chown doesn't work with usernames containing '\' character
Key: HADOOP-14075
URL: https://issues.apache.org/jira/browse/HADOOP-14075
Project: Hadoop Common
Issue Type: Bug
Reporter: Attila Bukor
Usernames containing backslash (e.g. down-level logon names) seem to work fine with Hadoop, except for chown.
{code}
$ HADOOP_USER_NAME="FOOBAR\\testuser" hdfs dfs -mkdir /test/testfile1
$ hdfs dfs -ls /test
Found 1 items
drwxrwxr-x - FOOBAR\testuser supergroup 0 2017-02-10 12:49 /test/testfile1
$ HADOOP_USER_NAME="testuser" hdfs dfs -mkdir /test/testfile2
$ HADOOP_USER_NAME="hdfs" hdfs dfs -chown "FOOBAR\\testuser" /test/testfile2
-chown: 'FOOBAR\testuser' does not match expected pattern for [owner][:group].
Usage: hadoop fs [generic options] -chown [-R] [OWNER][:[GROUP]] PATH...
$
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org