Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 26858 invoked from network); 6 Apr 2010 07:37:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Apr 2010 07:37:58 -0000 Received: (qmail 927 invoked by uid 500); 6 Apr 2010 07:37:58 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 821 invoked by uid 500); 6 Apr 2010 07:37:57 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 799 invoked by uid 99); 6 Apr 2010 07:37:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Apr 2010 07:37:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Apr 2010 07:37:54 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9AA50234C4AC for ; Tue, 6 Apr 2010 07:37:33 +0000 (UTC) Message-ID: <1442137065.1931270539453632.JavaMail.jira@brutus.apache.org> Date: Tue, 6 Apr 2010 07:37:33 +0000 (UTC) From: "Chris Douglas (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Updated: (HDFS-997) DataNode local directories should have narrow permissions In-Reply-To: <1152541582.454211266902248178.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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.