summaryrefslogtreecommitdiff
path: root/pypi.fcgi
diff options
context:
space:
mode:
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