Ticket #7616: 7616_umask_warning.diff
File 7616_umask_warning.diff, 921 bytes (added by , 14 years ago) |
---|
-
docs/howto/deployment/fastcgi.txt
110 110 Running a preforked server on a Unix domain socket:: 111 111 112 112 ./manage.py runfcgi method=prefork socket=/home/user/mysite.sock pidfile=django.pid 113 114 .. admonition:: Socket security 113 115 116 Django's default umask requires that the webserver and the Django fastcgi 117 process be run with the same group **and** user. For increased security, 118 you can run them under the same group but as different users. If you do 119 this, you will need to set the umask to 002 using the ``umask`` argument to 120 ``runfcgi``. 121 114 122 Run without daemonizing (backgrounding) the process (good for debugging):: 115 123 116 124 ./manage.py runfcgi daemonize=false socket=/tmp/mysite.sock maxrequests=1