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 "Marc Villacorta (JIRA)" <ji...@apache.org> on 2013/08/08 16:55:50 UTC

[jira] [Created] (HADOOP-9851) dfs -chown does not like "+" plus sign in user name

Marc Villacorta created HADOOP-9851:
---------------------------------------

             Summary: dfs -chown does not like "+" plus sign in user name
                 Key: HADOOP-9851
                 URL: https://issues.apache.org/jira/browse/HADOOP-9851
             Project: Hadoop Common
          Issue Type: Bug
          Components: fs
    Affects Versions: 2.0.0-alpha
            Reporter: Marc Villacorta
            Priority: Minor


I intend to set user and group:

*User:* _MYCOMPANY+marc.villacorta_
*Group:* hadoop

where _'+'_ is what we use as a winbind separator.

And this is what I get:
{code:none}
sudo -u hdfs hadoop fs -touchz /tmp/test.txt
sudo -u hdfs hadoop fs -chown MYCOMPANY+marc.villacorta:hadoop /tmp/test.txt
-chown: 'MYCOMPANY+marc.villacorta:hadoop' does not match expected pattern for [owner][:group].
Usage: hadoop fs [generic options] -chown [-R] [OWNER][:[GROUP]] PATH...
{code}

--
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