util: add mode, uid, gid parameters to UTI_CreateDirAndParents()

This commit is contained in:
Miroslav Lichvar
2015-08-10 14:56:17 +02:00
parent 9a83cab2f8
commit 236576c124
4 changed files with 42 additions and 34 deletions

View File

@@ -306,9 +306,7 @@ LOG_CreateLogFileDir(void)
logdir = CNF_GetLogDir();
if (!UTI_CreateDirAndParents(logdir)) {
LOG(LOGS_ERR, LOGF_Logging, "Could not create directory %s", logdir);
}
UTI_CreateDirAndParents(logdir, 0755, 0, 0);
}
/* ================================================== */