From dev-return-3719-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Thu Apr 02 09:56:37 2009 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 85525 invoked from network); 2 Apr 2009 09:56:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Apr 2009 09:56:37 -0000 Received: (qmail 92982 invoked by uid 500); 2 Apr 2009 09:56:37 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 92888 invoked by uid 500); 2 Apr 2009 09:56:37 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 92572 invoked by uid 99); 2 Apr 2009 09:56:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 09:56:36 +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, 02 Apr 2009 09:56:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 338C1234C053 for ; Thu, 2 Apr 2009 02:56:13 -0700 (PDT) Message-ID: <210770960.1238666173210.JavaMail.jira@brutus> Date: Thu, 2 Apr 2009 02:56:13 -0700 (PDT) From: "Nils Breunese (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Created: (COUCHDB-314) Release tarball contains directories with 777 permissions 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 Release tarball contains directories with 777 permissions --------------------------------------------------------- Key: COUCHDB-314 URL: https://issues.apache.org/jira/browse/COUCHDB-314 Project: CouchDB Issue Type: Bug Components: Build System Affects Versions: 0.9 Environment: Red Hat Enterprise Linux 5.3 fully updated Reporter: Nils Breunese Priority: Minor I unpacked the release tarball on Ubuntu 8.10 and Mac OS X 10.5.6 using the following tar mantra, which produces the desired result: $ tar zxvf apache-couchdb-0.9.0.tar.gz However, when running this command on Red Hat Enterprise Linux 5.3 all resulting directories have 777 permissions. Inspecting the tarball showed that the directories inside the tarball indeed have 777 permissions. Apparently Red Hat's tar is applying the -p/--preserve-permissions flag automatically, while this doesn't happen on Ubuntu and Mac OS X. That's why the directories look normal on Ubuntu and Mac OS X, as in that case the default umask is applied, which is generally set to 0022 and therefor yields 755 permissions for directories. I generally don't like having 777 directories on my system, especially when it serves no purpose, so could the release tarball maybe be altered to just have 'normal' directories with 755 permissions? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.