hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9768) chown and chgrp reject users and groups with spaces on platforms where spaces are otherwise acceptable
Date Thu, 25 Jul 2013 05:47:49 GMT

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

Arpit Agarwal commented on HADOOP-9768:
---------------------------------------

+1 for the trunk patch. Verified on Windows and OS X. Nice use of {{assertIllegalArguments}}.
                
> 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-branch-1.2.patch, HADOOP-9768-trunk.1.patch,
HADOOP-9768-trunk.2.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

Mime
View raw message