Return-Path: X-Original-To: apmail-incubator-bigtop-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-bigtop-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0127B9717 for ; Fri, 13 Apr 2012 01:09:31 +0000 (UTC) Received: (qmail 80831 invoked by uid 500); 13 Apr 2012 01:09:30 -0000 Delivered-To: apmail-incubator-bigtop-commits-archive@incubator.apache.org Received: (qmail 80780 invoked by uid 500); 13 Apr 2012 01:09:30 -0000 Mailing-List: contact bigtop-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bigtop-dev@incubator.apache.org Delivered-To: mailing list bigtop-commits@incubator.apache.org Received: (qmail 80773 invoked by uid 99); 13 Apr 2012 01:09:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2012 01:09:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2012 01:09:29 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id EE878238897A; Fri, 13 Apr 2012 01:09:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1325581 - /incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh Date: Fri, 13 Apr 2012 01:09:08 -0000 To: bigtop-commits@incubator.apache.org From: plinnell@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120413010908.EE878238897A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: plinnell Date: Fri Apr 13 01:09:08 2012 New Revision: 1325581 URL: http://svn.apache.org/viewvc?rev=1325581&view=rev Log: BIGTOP-521-Fix Hadoop-Pseudo-Conf File permissions Modified: incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh Modified: incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh?rev=1325581&r1=1325580&r2=1325581&view=diff ============================================================================== --- incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh (original) +++ incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh Fri Apr 13 01:09:08 2012 @@ -202,8 +202,9 @@ ln -s /var/run/hadoop $LIB_DIR/pids # Make the pseudo-distributed config for conf in conf.pseudo ; do install -d -m 0755 $ETC_DIR/$conf - # Install the default configurations + # Install the default configurations and set some permissions. (cd ${BUILD_DIR}/conf && tar -cf - .) | (cd $ETC_DIR/$conf && tar -xf -) + chmod -R 0644 $ETC_DIR/$conf/* # Overlay the -site files (cd $DISTRO_DIR/$conf && tar -cf - .) | (cd $ETC_DIR/$conf && tar -xf -) # When building straight out of svn we have to account for pesky .svn subdirs