summaryrefslogtreecommitdiff
path: root/pypi.fcgi
diff options
context:
space:
mode:
authormartin.von.loewis <devnull@localhost>2010-01-02 18:34:36 +0000
committermartin.von.loewis <devnull@localhost>2010-01-02 18:34:36 +0000
commitf36b4c3e34652dbef2081af71423abd19703e691 (patch)
tree3d3e303256c819f7dc73beb7081a08b05eb866f6 /pypi.fcgi
parent164d4353ad005e91955250850dcd4fd2e0840120 (diff)
downloaddecorator-f36b4c3e34652dbef2081af71423abd19703e691.tar.gz
Make directories (and other files) group-writable.
Diffstat (limited to 'pypi.fcgi')
-rwxr-xr-xpypi.fcgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/pypi.fcgi b/pypi.fcgi
index 0b9ec0f..84e360b 100755
--- a/pypi.fcgi
+++ b/pypi.fcgi
@@ -43,6 +43,7 @@ def handle_request(req, env):
#
# Now do the actual CGI handling
#
+os.umask(002) # make directories group-writable
prefix = os.path.dirname(__file__)
sys.path.insert(0, prefix)
import config