Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 53248 invoked from network); 27 Mar 2008 17:29:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Mar 2008 17:29:46 -0000 Received: (qmail 23227 invoked by uid 500); 27 Mar 2008 17:29:41 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 23187 invoked by uid 500); 27 Mar 2008 17:29:41 -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 23169 invoked by uid 99); 27 Mar 2008 17:29:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2008 10:29:41 -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 17:28:59 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 98DFD234C0AE for ; Thu, 27 Mar 2008 10:27:28 -0700 (PDT) Message-ID: <1976196198.1206638848625.JavaMail.jira@brutus> Date: Thu, 27 Mar 2008 10:27:28 -0700 (PDT) From: "Allen Wittenauer (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=12582743#action_12582743 ] Allen Wittenauer commented on HADOOP-3098: ------------------------------------------ I'm not sure why period (.) would be an issue. chown and chgrp use colons(:) for user and group separation. Periods aren't recommended for usage due to how mail servers may interpret them, but I don't know of any standard UNIX commands that choke on it. > 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 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.