From 907199c194af0cb3912219b808aab13df763c022 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Mon, 31 Oct 2005 00:22:26 +0000 Subject: Permission fix - Fixes .rcc directory permissions ( Bug report by AlexMal ) --- src/rccdb4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rccdb4.c') diff --git a/src/rccdb4.c b/src/rccdb4.c index 9c21477..6a57a5f 100644 --- a/src/rccdb4.c +++ b/src/rccdb4.c @@ -19,7 +19,7 @@ db4_context rccDb4CreateContext(const char *dbpath, rcc_db4_flags flags) { err = db_env_create(&dbe, 0); if (err) return NULL; - err = dbe->open(dbe, dbpath, DB_CREATE|DB_INIT_CDB|DB_INIT_MPOOL, 0); + err = dbe->open(dbe, dbpath, DB_CREATE|DB_INIT_CDB|DB_INIT_MPOOL, 00755); if (err) { dbe->close(dbe, 0); return NULL; -- cgit v1.2.3