[ https://issues.apache.org/jira/browse/HADOOP-2531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556983#action_12556983 ]
Doug Cutting commented on HADOOP-2531: -------------------------------------- Okay, I found it: the default permissions on upgrade are 777, with both user and group set to HadoopAnonymous. So I'm now leaning towards switching to dfs.permissions=true by default. > HDFS FileStatus.getPermission() should return 777 when dfs.permissions=false > ---------------------------------------------------------------------------- > > Key: HADOOP-2531 > URL: https://issues.apache.org/jira/browse/HADOOP-2531 > Project: Hadoop > Issue Type: Bug > Components: dfs > Reporter: Doug Cutting > Fix For: 0.16.0 > > > Generic permission checking code should still work correctly when > dfs.permissions=false. Currently FileStatus#getPermission() returns the > actual permission when dfs.permissions=false on the namenode, which is > incorrect, since all accesses are permitted in this case. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.