diff --git a/app/src/main/cpp/skyline/vfs/os_filesystem.cpp b/app/src/main/cpp/skyline/vfs/os_filesystem.cpp index 01d7c2bb..1094b33d 100644 --- a/app/src/main/cpp/skyline/vfs/os_filesystem.cpp +++ b/app/src/main/cpp/skyline/vfs/os_filesystem.cpp @@ -20,7 +20,7 @@ namespace skyline::vfs { // Create a directory that will hold the file CreateDirectory(path.substr(0, path.find_last_of('/')), true); - int fd{open(fullPath.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR)}; + int fd{open(fullPath.c_str(), O_RDWR | O_CREAT, 0666)}; if (fd < 0) { if (errno != ENOENT) throw exception("Failed to create file: {}", strerror(errno));