Skip to content

Commit e725b4d

Browse files
author
martin.von.loewis
committed
Make directories (and other files) group-writable.
1 parent b0776f8 commit e725b4d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pypi.fcgi

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def handle_request(req, env):
4343
#
4444
# Now do the actual CGI handling
4545
#
46+
os.umask(002) # make directories group-writable
4647
prefix = os.path.dirname(__file__)
4748
sys.path.insert(0, prefix)
4849
import config

standalone.py

+1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ def setup(self):
9494
self.wfile = sys.stdout
9595

9696
def main():
97+
os.umask(002) # make directories group-writable
9798
port = 8000
9899
remote_user = None
99100
opts, args = getopt.getopt(sys.argv[1:], 'ir:p:',

0 commit comments

Comments
 (0)