summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ratox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ratox.c b/ratox.c
index fddd57f..141953b 100644
--- a/ratox.c
+++ b/ratox.c
@@ -753,7 +753,7 @@ localinit(void)
size_t i, m;
for (i = 0; i < LEN(gslots); i++) {
- r = mkdir(gslots[i].name, 0755);
+ r = mkdir(gslots[i].name, 0777);
if (r < 0 && errno != EEXIST)
eprintf("mkdir %s:", gslots[i].name);
@@ -924,7 +924,7 @@ friendcreate(int32_t frnum)
tox_get_client_id(tox, f->num, f->id);
id2str(f->id, f->idstr);
- r = mkdir(f->idstr, 0755);
+ r = mkdir(f->idstr, 0777);
if (r < 0 && errno != EEXIST)
eprintf("mkdir %s:", f->idstr);