Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 93092 invoked from network); 28 Jan 2010 22:19:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Jan 2010 22:19:55 -0000 Received: (qmail 41608 invoked by uid 500); 28 Jan 2010 22:19:55 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 41558 invoked by uid 500); 28 Jan 2010 22:19:55 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 41548 invoked by uid 99); 28 Jan 2010 22:19:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jan 2010 22:19:55 +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; Thu, 28 Jan 2010 22:19:54 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8C07C29A001A for ; Thu, 28 Jan 2010 14:19:34 -0800 (PST) Message-ID: <1697080956.115411264717174572.JavaMail.jira@brutus.apache.org> Date: Thu, 28 Jan 2010 22:19:34 +0000 (UTC) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Commented: (HADOOP-6511) FsPermission.getDefault choice of 0777 is bad in all cases In-Reply-To: <731299787.28861264473994588.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-6511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806130#action_12806130 ] Tsz Wo (Nicholas), SZE commented on HADOOP-6511: ------------------------------------------------ > ... closing this as invalid... +1 > FsPermission.getDefault choice of 0777 is bad in all cases > ---------------------------------------------------------- > > Key: HADOOP-6511 > URL: https://issues.apache.org/jira/browse/HADOOP-6511 > Project: Hadoop Common > Issue Type: Bug > Components: fs > Affects Versions: 0.20.1 > Environment: hadoop 20.1, java 1.6.0_17, Fedora > Reporter: robert Cook > > /** Get the default permission. */ > 227 public static FsPermission getDefault() { > 228 return new FsPermission((short)00777); > 229 } > setting any data file to execute-others is bad security under all circumstances > should be 664 or 644 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.