Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 132DC200D26 for ; Fri, 20 Oct 2017 16:44:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 11C5F160BCB; Fri, 20 Oct 2017 14:44:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5977B1609E1 for ; Fri, 20 Oct 2017 16:44:07 +0200 (CEST) Received: (qmail 45791 invoked by uid 500); 20 Oct 2017 14:44:06 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 45780 invoked by uid 99); 20 Oct 2017 14:44:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Oct 2017 14:44:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 87FE41A022D for ; Fri, 20 Oct 2017 14:44:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id w1IUJT9E20o0 for ; Fri, 20 Oct 2017 14:44:04 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 2F4726112D for ; Fri, 20 Oct 2017 14:44:04 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id CEE31E0635 for ; Fri, 20 Oct 2017 14:44:03 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id A066E243AB for ; Fri, 20 Oct 2017 14:44:01 +0000 (UTC) Date: Fri, 20 Oct 2017 14:44:01 +0000 (UTC) From: "Andras Bokor (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-9851) dfs -chown does not like "+" plus sign in user name MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 20 Oct 2017 14:44:08 -0000 [ https://issues.apache.org/jira/browse/HADOOP-9851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andras Bokor updated HADOOP-9851: --------------------------------- Target Version/s: 3.0.0 > 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.5-alpha > Reporter: Marc Villacorta > Assignee: Andras Bokor > Priority: Minor > Attachments: HADOOP-9851.01.patch > > > 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} > I am using version: 2.0.0-cdh4.3.0 > Quote [source|http://h30097.www3.hp.com/docs/iass/OSIS_62/MAN/MAN8/0044____.HTM]: > {quote} > winbind separator > The winbind separator option allows you to specify how NT domain names > and user names are combined into unix user names when presented to > users. By default, winbindd will use the traditional '\' separator so > that the unix user names look like DOMAIN\username. In some cases this > separator character may cause problems as the '\' character has > special meaning in unix shells. In that case you can use the winbind > separator option to specify an alternative separator character. Good > alternatives may be '/' (although that conflicts with the unix > directory separator) or a '+ 'character. The '+' character appears to > be the best choice for 100% compatibility with existing unix > utilities, but may be an aesthetically bad choice depending on your > taste. > Default: winbind separator = \ > Example: winbind separator = + > {quote} -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org