Revision 8b72b05c lib/constants.py

b/lib/constants.py
82 82
CONFIG_REVISION = 0
83 83
CONFIG_VERSION = BuildVersion(CONFIG_MAJOR, CONFIG_MINOR, CONFIG_REVISION)
84 84

  
85
# user separation
86
DAEMONS_GROUP = _autoconf.DAEMONS_GROUP
87
MASTERD_USER = _autoconf.MASTERD_USER
88
RAPI_USER = _autoconf.RAPI_USER
89

  
85 90
# file paths
86 91
DATA_DIR = _autoconf.LOCALSTATEDIR + "/lib/ganeti"
87 92
RUN_DIR = _autoconf.LOCALSTATEDIR + "/run"
88 93
RUN_GANETI_DIR = RUN_DIR + "/ganeti"
89 94
BDEV_CACHE_DIR = RUN_GANETI_DIR + "/bdev-cache"
90 95
DISK_LINKS_DIR = RUN_GANETI_DIR + "/instance-disks"
91
RUN_DIRS_MODE = 0755
96
RUN_DIRS_MODE = 0775
92 97
SOCKET_DIR = RUN_GANETI_DIR + "/socket"
93 98
SECURE_DIR_MODE = 0700
94
SOCKET_DIR_MODE = SECURE_DIR_MODE
99
SOCKET_DIR_MODE = 0750
95 100
CRYPTO_KEYS_DIR = RUN_GANETI_DIR + "/crypto"
96 101
CRYPTO_KEYS_DIR_MODE = SECURE_DIR_MODE
97 102
IMPORT_EXPORT_DIR = RUN_GANETI_DIR + "/import-export"

Also available in: Unified diff