<NME> settings.py
<BEF> import os

# configuration
DEBUG = not os.environ.has_key('RSTED_PROD')
RUN_PATH = 'var/run'
PID_FILE = 'fastcgi.pid'
SOCKET_FILE = 'rsted.sock'
CHMOD_SOCKET = '0777' # you can override this in settings_local.py if you wish

try:
    from settings_local import *
                  ## 0.0.0.0   is open to everyone,
                  ## 127.0.0.1 is localhost only.
PORT = 5000


try:
    from settings_local import *
except ImportError:
    pass

<MSG> fix permissions for fastcgi socket file (get rid chmod)

<DFF> @@ -5,7 +5,7 @@ DEBUG = True
 RUN_PATH = 'var/run'
 PID_FILE = 'fastcgi.pid'
 SOCKET_FILE = 'rsted.sock'
-CHMOD_SOCKET = '0777' # you can override this in settings_local.py if you wish
+FCGI_UMASK = '000' # you can override this in settings_local.py if you wish
 
 try:
     from settings_local import *

fix permissions for fastcgi socket file (get rid chmod)