You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Eli Collins (JIRA)" <ji...@apache.org> on 2012/09/07 19:59:08 UTC

[jira] [Created] (HDFS-3903) HttpFs does not set permissions correctly for MKDIR

Eli Collins created HDFS-3903:
---------------------------------

             Summary: HttpFs does not set permissions correctly for MKDIR
                 Key: HDFS-3903
                 URL: https://issues.apache.org/jira/browse/HDFS-3903
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 2.0.0-alpha
            Reporter: Eli Collins
            Assignee: Alejandro Abdelnur
            Priority: Critical


Per Romain on HDFS-3491: This is still broken. Octal is correctly accepted but not applied when during a MKDIR:

{noformat}
romain@runreal:~/projects/hue$ curl -X PUT "http://localhost:14000/webhdfs/v1/tmp/test-perm-httpfs?permission=01777&op=MKDIRS&user.name=hue&doas=hue"
{"boolean":true}
romain@runreal:~/projects/hue$ curl "http://localhost:14000/webhdfs/v1/tmp/test-perm-httpfs?op=GETFILESTATUS&user.name=hue&doas=hue"
{"FileStatus":{"pathSuffix":"","type":"DIRECTORY","length":0,"owner":"hue","group":"supergroup","permission":"755","accessTime":0,"modificationTime":1345658456869,"blockSize":0,"replication":0}}
{noformat}


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

[jira] [Resolved] (HDFS-3903) DFSClient mkdirs applies default umask to the specified permission

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

Alejandro Abdelnur resolved HDFS-3903.
--------------------------------------

    Resolution: Not A Problem

Thanks Colin, now I remember I've been bitten by this before.
                
> DFSClient mkdirs applies default umask to the specified permission
> ------------------------------------------------------------------
>
>                 Key: HDFS-3903
>                 URL: https://issues.apache.org/jira/browse/HDFS-3903
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha
>            Reporter: Eli Collins
>            Assignee: Eli Collins
>            Priority: Critical
>
> Per Romain on HDFS-3491: This is still broken. Octal is correctly accepted but not applied when during a MKDIR:
> {noformat}
> romain@runreal:~/projects/hue$ curl -X PUT "http://localhost:14000/webhdfs/v1/tmp/test-perm-httpfs?permission=01777&op=MKDIRS&user.name=hue&doas=hue"
> {"boolean":true}
> romain@runreal:~/projects/hue$ curl "http://localhost:14000/webhdfs/v1/tmp/test-perm-httpfs?op=GETFILESTATUS&user.name=hue&doas=hue"
> {"FileStatus":{"pathSuffix":"","type":"DIRECTORY","length":0,"owner":"hue","group":"supergroup","permission":"755","accessTime":0,"modificationTime":1345658456869,"blockSize":0,"replication":0}}
> {noformat}

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