Set umask in settings.
authorAntony Chazapis <chazapis@gmail.com>
Tue, 22 Nov 2011 11:42:50 +0000 (13:42 +0200)
committerAntony Chazapis <chazapis@gmail.com>
Tue, 22 Nov 2011 11:42:50 +0000 (13:42 +0200)
Fixes #1636

pithos/settings.py.dist

index 074c00a..fda15ee 100644 (file)
@@ -206,6 +206,9 @@ PASSWORD_RESET_TARGET = '%s/im/local/reset/' \
 # The server is behind a proy (apache and gunicorn setup).
 USE_X_FORWARDED_HOST = False
 
+# Set umask (needed for gunicorn setup).
+#os.umask(0077)
+
 # Use to log to a file.
 LOGFILE = None