Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 81111 invoked from network); 27 Mar 2008 21:17:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Mar 2008 21:17:38 -0000 Received: (qmail 67004 invoked by uid 500); 27 Mar 2008 21:17:35 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 66974 invoked by uid 500); 27 Mar 2008 21:17:35 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 66965 invoked by uid 99); 27 Mar 2008 21:17:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2008 14:17:35 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2008 21:17:03 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 681D8234C0B1 for ; Thu, 27 Mar 2008 14:15:24 -0700 (PDT) Message-ID: <350895939.1206652524425.JavaMail.jira@brutus> Date: Thu, 27 Mar 2008 14:15:24 -0700 (PDT) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3098) dfs -chown does not like "_" underscore in user name In-Reply-To: <995632070.1206558569362.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12582788#action_12582788 ] Tsz Wo (Nicholas), SZE commented on HADOOP-3098: ------------------------------------------------ +1 codes look good minor comment: it would be better to use allowedChars to construct the help message. > dfs -chown does not like "_" underscore in user name > ---------------------------------------------------- > > Key: HADOOP-3098 > URL: https://issues.apache.org/jira/browse/HADOOP-3098 > Project: Hadoop Core > Issue Type: Bug > Components: fs > Affects Versions: 0.16.0, 0.16.1 > Reporter: Koji Noguchi > Assignee: Raghu Angadi > Priority: Blocker > Fix For: 0.16.2 > > Attachments: HADOOP-3098.patch, HADOOP-3098.patch > > > :~$ hadoop dfs -chown aaa_bbb /user/knoguchi/test.txt > chown: 'aaa_bbb' does not match expected pattern for [owner][:group]. > in 0.16.1, only alphabets and numbers are allowed. Shouldn't '_' be allowed? > I couldn't find any standard, but in Solaris10, it's defined as > http://docs.sun.com/app/docs/doc/816-5174/6mbb98uhg?a=view > bq. The login (login) and role (role) fields accept a string of no more than eight bytes consisting of characters from the set of alphabetic characters, numeric characters, period (.), underscore (_), and hyphen (-). The first character should be alphabetic and the field should contain at least one lower case alphabetic character. A warning message is displayed if these restrictions are not met. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.