Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 45317DEDB for ; Mon, 12 Nov 2012 23:25:13 +0000 (UTC) Received: (qmail 35801 invoked by uid 500); 12 Nov 2012 23:25:13 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 35732 invoked by uid 500); 12 Nov 2012 23:25:13 -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 35608 invoked by uid 99); 12 Nov 2012 23:25:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Nov 2012 23:25:12 +0000 Date: Mon, 12 Nov 2012 23:25:12 +0000 (UTC) From: "Colin Patrick McCabe (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <908204982.103895.1352762712916.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (HDFS-1322) DistributedFileSystem.mkdirs(dir, dirPermission) doesn't set the permissions of created dir to dirPermission 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/HDFS-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Colin Patrick McCabe updated HDFS-1322: --------------------------------------- Attachment: HDFS-1322.002.patch address nits > DistributedFileSystem.mkdirs(dir, dirPermission) doesn't set the permissions of created dir to dirPermission > ------------------------------------------------------------------------------------------------------------ > > Key: HDFS-1322 > URL: https://issues.apache.org/jira/browse/HDFS-1322 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Ravi Gummadi > Assignee: Colin Patrick McCabe > Labels: newbie > Attachments: HDFS-1322.001.patch, HDFS-1322.002.patch, HDFS-1322.patch > > > The javadoc of DFSClient.mkdirs() says that the permissions of created dir will be set to dirPermission, which is not done currently. This should talk about umask. -- 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