You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Chuan Liu (JIRA)" <ji...@apache.org> on 2012/05/31 18:49:23 UTC

[jira] [Created] (HADOOP-8454) Fix the ‘chmod =[perm]’ bug in winutils

Chuan Liu created HADOOP-8454:
---------------------------------

             Summary: Fix the ‘chmod =[perm]’ bug in winutils
                 Key: HADOOP-8454
                 URL: https://issues.apache.org/jira/browse/HADOOP-8454
             Project: Hadoop Common
          Issue Type: Bug
          Components: test
    Affects Versions: 1.1.0, 0.24.0
            Reporter: Chuan Liu
            Assignee: Chuan Liu
            Priority: Minor


The original patch for [Hadoop-8235|https://issues.apache.org/jira/browse/HADOOP-8235] contained a bug for ‘chmod’ implantation. The logic to compute new access mask when ‘chmod’ mode string has ‘=’ in them is incorrect. For example, ‘winutils chmod o=g foo’ will result wrong permission settings for the file ‘foo’. The Jira is created to track the bug.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Resolved] (HADOOP-8454) Fix the ‘chmod =[perm]’ bug in winutils

Posted by "Sanjay Radia (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sanjay Radia resolved HADOOP-8454.
----------------------------------

    Resolution: Fixed

Reviewed and committed patch to Hadoop-1 windows branch.
Thanks Chuan Lin.
                
> Fix the ‘chmod =[perm]’ bug in winutils
> ---------------------------------------
>
>                 Key: HADOOP-8454
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8454
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: native
>    Affects Versions: 1.1.0, 0.24.0
>            Reporter: Chuan Liu
>            Assignee: Chuan Liu
>            Priority: Minor
>         Attachments: HADOOP-8454-2-branch-1-win.patch, HADOOP-8454-branch-1-win.patch
>
>
> The original patch for [Hadoop-8235|https://issues.apache.org/jira/browse/HADOOP-8235] contained a bug for ‘chmod’ implantation. The logic to compute new access mask when ‘chmod’ mode string has ‘=’ in them is incorrect. For example, ‘winutils chmod o=g foo’ will result wrong permission settings for the file ‘foo’. The Jira is created to track the bug.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira