summaryrefslogtreecommitdiffstats
path: root/external/rcclibtranslate.c
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2005-10-31 00:22:26 +0000
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2005-10-31 00:22:26 +0000
commit907199c194af0cb3912219b808aab13df763c022 (patch)
tree040b0f954a339186b80af486bd1a3c84f15f7477 /external/rcclibtranslate.c
parentcf9f426f278f57ea74cd22ffda07047c2fb4ce9c (diff)
downloadlibrcc-907199c194af0cb3912219b808aab13df763c022.tar.gz
librcc-907199c194af0cb3912219b808aab13df763c022.tar.bz2
librcc-907199c194af0cb3912219b808aab13df763c022.tar.xz
librcc-907199c194af0cb3912219b808aab13df763c022.zip
Permission fix
- Fixes .rcc directory permissions ( Bug report by AlexMal )
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);