[ https://issues.apache.org/jira/browse/HDFS-997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Douglas updated HDFS-997: ------------------------------- Attachment: H997-5.patch Revert this change: {noformat} - File data = new File(dirURI.getPath()); + Path dir = new Path(dirURI); {noformat} Datanode dirs may have an authority for URIs with {{file}} schemes, explicitly dropped in the existing code. To preserve backwards compatibility, this must remain. > DataNode local directories should have narrow permissions > --------------------------------------------------------- > > Key: HDFS-997 > URL: https://issues.apache.org/jira/browse/HDFS-997 > Project: Hadoop HDFS > Issue Type: Improvement > Components: data-node > Affects Versions: 0.22.0 > Reporter: Arun C Murthy > Assignee: Luke Lu > Fix For: 0.22.0 > > Attachments: H997-4.patch, H997-5.patch, hdfs-997-trunk-v1.patch, > hdfs-997-trunk-v2.patch, hdfs-997-trunk-v3.patch > > > DataNode's local directories (blocks et al) should have narrow 700 > permissions for security -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.