summaryrefslogtreecommitdiffstats
path: root/external/rccexternal.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/rccexternal.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/rccexternal.c')
-rw-r--r--external/rccexternal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/rccexternal.c b/external/rccexternal.c
index 292ee5d..b09623d 100644
--- a/external/rccexternal.c
+++ b/external/rccexternal.c
@@ -87,7 +87,7 @@ int main() {
rccLibTranslateInit(rcc_home_dir);
sprintf(addr,"%s/.rcc/comm/",rcc_home_dir);
- mkdir(addr, 00600);
+ mkdir(addr, 00700);
sprintf(addr,"%s/.rcc/comm/%lu.sock", rcc_home_dir, (unsigned long)mypid);
s = socket(PF_UNIX, SOCK_STREAM, 0);