[ 
https://issues.apache.org/jira/browse/HADOOP-9778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13721039#comment-13721039
 ] 

Daryn Sharp commented on HADOOP-9778:
-------------------------------------

If we are *nix shell expanding usernames, that definitely needs to be fixed.  I 
personally agree with the original premise of let the OS decide but I suppose 
you could make the pattern ".*" if that's what you want.
                
> Support configurable user name and group name validation patterns in chown 
> and chgrp shell commands.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-9778
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9778
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 3.0.0, 2.3.0
>            Reporter: Chris Nauroth
>            Priority: Minor
>
> The chown and chgrp shell commands enforce a valid set of characters for user 
> names and group names.  The validation rules for user names and group names 
> vary across different OSes, so this is a portability problem and a 
> maintenance burden.  It requires us to change the code every time we discover 
> a difference in the rules.  I propose that we remove this validation logic 
> and instead pass through input user names and group names to the OS.  We can 
> handle error reporting by catching errors returned from the OS.

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

Reply via email to