Fix folder creation
authorFrancisco Javier Trujillo Mata <fjtrujy@gmail.com>
Sat, 30 Dec 2023 23:51:49 +0000 (00:51 +0100)
committerkub <derkub@gmail.com>
Sun, 18 Feb 2024 22:30:09 +0000 (23:30 +0100)
platform/common/emu.c

index 92375ea..5e51d93 100644 (file)
@@ -1243,7 +1243,7 @@ static void mkdir_path(char *path_with_reserve, int pos, const char *name)
        strcpy(path_with_reserve + pos, name);\r
        if (plat_is_dir(path_with_reserve))\r
                return;\r
-       if (mkdir(path_with_reserve, 0777) < 0)\r
+       if (mkdir(path_with_reserve, 0755) < 0)\r
                lprintf("failed to create: %s\n", path_with_reserve);\r
 }\r
 \r