summaryrefslogtreecommitdiffstats
path: root/external/rcclibtranslate.c
diff options
context:
space:
mode:
Diffstat (limited to 'external/rcclibtranslate.c')
-rw-r--r--external/rcclibtranslate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/external/rcclibtranslate.c b/external/rcclibtranslate.c
index 46fcd6e..7a36814 100644
--- a/external/rcclibtranslate.c
+++ b/external/rcclibtranslate.c
@@ -139,10 +139,10 @@ int rccLibTranslateInit(const char *rcc_home_dir) {
dbname = (char*)malloc(size*sizeof(char));
if (dbname) {
sprintf(dbname,"%s/.rcc/",rcc_home_dir);
- mkdir(dbname, 00644);
+ mkdir(dbname, 00755);
sprintf(dbname,"%s/.rcc/libtranslate.db/",rcc_home_dir);
- mkdir(dbname, 00644);
+ mkdir(dbname, 00755);
db4ctx = rccDb4CreateContext(dbname, 0);
free(dbname);