From f233566d52325e9afe85632923a77fdf65a6d0e3 Mon Sep 17 00:00:00 2001 From: Antony Chazapis Date: Tue, 22 Nov 2011 13:42:50 +0200 Subject: [PATCH] Set umask in settings. Fixes #1636 --- pithos/settings.py.dist | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pithos/settings.py.dist b/pithos/settings.py.dist index 074c00a..fda15ee 100644 --- a/pithos/settings.py.dist +++ b/pithos/settings.py.dist @@ -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 -- 1.7.10.4