From: Francisco Javier Trujillo Mata Date: Sat, 30 Dec 2023 23:51:49 +0000 (+0100) Subject: Fix folder creation X-Git-Tag: v2.00~119^2~16 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b4c95a951f87a2169952d1017253e273ca71ffb;p=picodrive.git Fix folder creation --- 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); }