You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@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

       

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

Posted by "Chuan Liu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13398053#comment-13398053 ] 

Chuan Liu commented on HADOOP-8454:
-----------------------------------

@[~sanjay.radia] Thanks! I only converted source files to Unix format, but did not notice the patch itself also saved in DOS format. I will run patches through dos2unix in the future.
                
> 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

       

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

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

Chuan Liu updated HADOOP-8454:
------------------------------

    Target Version/s: HADOOP-1-Windows
    
> 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-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

       

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

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

Chuan Liu updated HADOOP-8454:
------------------------------

    Component/s:     (was: test)
                 native
    
> 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
>
> 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] [Updated] (HADOOP-8454) Fix the ‘chmod =[perm]’ bug in winutils

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

Chuan Liu updated HADOOP-8454:
------------------------------

    Attachment: HADOOP-8454-branch-1-win.patch

Patch attached.
                
> 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-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

       

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

Posted by "Ivan Mitic (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397870#comment-13397870 ] 

Ivan Mitic commented on HADOOP-8454:
------------------------------------

+1, looks good Chuan. Make sure to cover this case in tests for HADOOP-8453.
                
> 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-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

       

[jira] [Updated] (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 updated HADOOP-8454:
---------------------------------

    Attachment: HADOOP-8454-2-branch-1-win.patch

ran patch through dos2unix
                
> 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