[ 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