hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3903) DFSClient mkdirs applies default umask to the specified permission
Date Fri, 07 Sep 2012 20:34:07 GMT

    [ https://issues.apache.org/jira/browse/HDFS-3903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450946#comment-13450946

Eli Collins commented on HDFS-3903:

Tucu, you mentioned WebHDFS does not apply the umask to all given permissions? If so we should
fix that.
> 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

View raw message