Create dbs with correct permissions.

This commit is contained in:
Dimitri John Ledkov
2015-02-27 16:26:57 +00:00
parent 46a72bc342
commit bab349b46e
7 changed files with 27 additions and 4 deletions

View File

@@ -123,6 +123,12 @@ struct commonio_db {
#ifdef WITH_SELINUX
/*@null@*/security_context_t scontext;
#endif
/*
* Default permissions and owner for newly created data file.
*/
mode_t st_mode;
uid_t st_uid;
gid_t st_gid;
/*
* Head, tail, current position in linked list.
*/