Revision 2958c56e lib/tools/ensure_dirs.py
b/lib/tools/ensure_dirs.py | ||
---|---|---|
124 | 124 |
rapi_log = constants.DAEMONS_LOGFILES[constants.RAPI] |
125 | 125 |
|
126 | 126 |
rapi_dir = os.path.join(pathutils.DATA_DIR, "rapi") |
127 |
cleaner_log_dir = os.path.join(pathutils.LOG_DIR, "cleaner") |
|
128 |
master_cleaner_log_dir = os.path.join(pathutils.LOG_DIR, "master-cleaner") |
|
127 | 129 |
|
128 | 130 |
paths = [ |
129 | 131 |
(pathutils.DATA_DIR, DIR, 0755, getent.masterd_uid, |
... | ... | |
192 | 194 |
(rapi_log, FILE, 0600, getent.rapi_uid, getent.masterd_gid, False), |
193 | 195 |
(pathutils.LOG_OS_DIR, DIR, 0750, getent.masterd_uid, |
194 | 196 |
getent.daemons_gid), |
197 |
(cleaner_log_dir, DIR, 0750, getent.noded_uid, getent.noded_gid), |
|
198 |
(master_cleaner_log_dir, DIR, 0750, getent.masterd_uid, getent.masterd_gid), |
|
195 | 199 |
]) |
196 | 200 |
|
197 | 201 |
return paths |
Also available in: Unified diff