diff options
Diffstat (limited to 'src/librcc.c')
-rw-r--r-- | src/librcc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librcc.c b/src/librcc.c index 98b609e..1ffe00b 100644 --- a/src/librcc.c +++ b/src/librcc.c @@ -333,10 +333,10 @@ int rccInitDb4(rcc_context ctx, const char *name, rcc_db4_flags flags) { if (!dbname) return -1; sprintf(dbname,"%s/.rcc/",rcc_home_dir); - mkdir(dbname, 00644); + mkdir(dbname, 00755); sprintf(dbname,"%s/.rcc/%s.db/",rcc_home_dir,name); - mkdir(dbname, 00644); + mkdir(dbname, 00755); ctx->db4ctx = rccDb4CreateContext(dbname, flags); free(dbname); |