|
@@ -97,7 +97,7 @@ Error FileAccessUnix::open_internal(const String &p_path, int p_mode_flags) {
|
|
last_error = ERR_FILE_CANT_OPEN;
|
|
last_error = ERR_FILE_CANT_OPEN;
|
|
return last_error;
|
|
return last_error;
|
|
}
|
|
}
|
|
- fchmod(fd, 0666);
|
|
|
|
|
|
+ fchmod(fd, 0644);
|
|
path = String::utf8(cs.ptr());
|
|
path = String::utf8(cs.ptr());
|
|
|
|
|
|
f = fdopen(fd, mode_string);
|
|
f = fdopen(fd, mode_string);
|