osdep/io: restore umask-based file creation permissions

This commit is contained in:
felix h
2026-10-09 15:38:05 +02:00
committed by sfan5
parent fd9265a905
commit 06ee185d3f
+1 -1
View File
@@ -100,7 +100,7 @@ FILE *mp_fopen(const char *filename, const char *mode)
}
// Open a CRT file descriptor
int fd = open(filename, rwmode | oflags | O_CLOEXEC, 0600);
int fd = open(filename, rwmode | oflags | O_CLOEXEC, 0666);
if (fd < 0)
return NULL;