couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nils Breunese (JIRA)" <j...@apache.org>
Subject [jira] Created: (COUCHDB-314) Release tarball contains directories with 777 permissions
Date Thu, 02 Apr 2009 09:56:13 GMT
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.


Mime
View raw message