[ https://issues.apache.org/jira/browse/HDFS-4333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13540324#comment-13540324 ]
Binglin Chang commented on HDFS-4333: ------------------------------------- HDFS explicitly filter all "x" permissions for files, so 777 is actually no different than 666, but still it is better to fix this. I'm not sure why HDFS needs to filter all "x" permissions for files. It actually removes some valuable information by doing this. > Using right default value for creating files in HDFS > ---------------------------------------------------- > > Key: HDFS-4333 > URL: https://issues.apache.org/jira/browse/HDFS-4333 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 2.0.2-alpha > Reporter: Binglin Chang > Assignee: Binglin Chang > Priority: Minor > > The default permission to create file should be 0666 rather than 0777, > HADOOP-9155 add default permission for files and change > localfilesystem.create to use this default value, this jira makes the similar > change with hdfs. -- 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