[ 
https://issues.apache.org/jira/browse/HADOOP-9768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Nauroth updated HADOOP-9768:
----------------------------------

    Attachment: HADOOP-9768-trunk.1.patch

I'm attaching a patch to allow the space character.

I've also added tests that specifically cover user and group names with spaces. 
 This way, we'll be able to catch regressions on any machine running the tests, 
not just machines where the logged-in user happens to have spaces in the group 
name.
                
> chown and chgrp reject users and groups with spaces on platforms where spaces 
> are otherwise acceptable
> ------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-9768
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9768
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 3.0.0, 1-win, 2.1.0-beta, 1.3.0
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: HADOOP-9768-branch-1.1.patch, HADOOP-9768-trunk.1.patch
>
>
> The chown and chgrp commands enforce a check on a valid set of characters for 
> user and group.  The set of valid characters does not include space.  On some 
> platforms (notably Windows), the space character is acceptable.  We've seen 
> this cause test failures in {{TestFsShellReturnCode}} when running on Windows 
> if the logged-in user is a member of a group like Remote Desktop Users.

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