From 9b4c95a951f87a2169952d1017253e273ca71ffb Mon Sep 17 00:00:00 2001 From: Francisco Javier Trujillo Mata Date: Sun, 31 Dec 2023 00:51:49 +0100 Subject: [PATCH] Fix folder creation --- platform/common/emu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/common/emu.c b/platform/common/emu.c index 92375ea5..5e51d934 100644 --- a/platform/common/emu.c +++ b/platform/common/emu.c @@ -1243,7 +1243,7 @@ static void mkdir_path(char *path_with_reserve, int pos, const char *name) strcpy(path_with_reserve + pos, name); if (plat_is_dir(path_with_reserve)) return; - if (mkdir(path_with_reserve, 0777) < 0) + if (mkdir(path_with_reserve, 0755) < 0) lprintf("failed to create: %s\n", path_with_reserve); } -- 2.39.2