summaryrefslogtreecommitdiffstats
path: root/src/rccxml.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 /src/rccxml.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 'src/rccxml.c')
-rw-r--r--src/rccxml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rccxml.c b/src/rccxml.c
index b40d4fc..db13750 100644
--- a/src/rccxml.c
+++ b/src/rccxml.c
@@ -315,7 +315,7 @@ int rccSave(rcc_context ctx, const char *name) {
if (!config) return -1;
sprintf(config,"%s/.rcc/",rcc_home_dir);
- mkdir(config, 00644);
+ mkdir(config, 00755);
sprintf(config,"%s/.rcc/%s.xml",rcc_home_dir,name);
fd = open(config, O_CREAT|O_RDWR,00644);