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

Wellington Chevreuil commented on HDFS-6434:
--------------------------------------------

Hi [~andrew.wang], thanks for the comments. Per the umask and FsPermissions 
methods suggestion, this has been discussed on 
[HDFS-10488|https://issues.apache.org/jira/browse/HDFS-10488], where original 
proposal was to apply same behaviour to WebHDFS.

However, conclusions were that it should not apply any umask, but the default 
permissions for files and directories should be fixed as suggested here

> Default permission for creating file should be 644 for WebHdfs/HttpFS
> ---------------------------------------------------------------------
>
>                 Key: HDFS-6434
>                 URL: https://issues.apache.org/jira/browse/HDFS-6434
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: webhdfs
>            Reporter: Juan Yu
>            Assignee: Wellington Chevreuil
>            Priority: Minor
>         Attachments: HDFS-6434.002.patch, HDFS-6434.patch
>
>
> Creating a file by using WebHdfs without specify permission. file is created 
> with permission 755. it should be 644.
> WebHdfs seems using the same default permission for both file and directory.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to