diff options
-rw-r--r-- | common/os_calls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/os_calls.c b/common/os_calls.c index 6dc41e95..4269faba 100644 --- a/common/os_calls.c +++ b/common/os_calls.c @@ -501,7 +501,7 @@ g_file_open(char* file_name) FILE_SHARE_READ | FILE_SHARE_WRITE, 0, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, 0); #else - return open(file_name, O_RDWR | O_CREAT); + return open(file_name, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); #endif } |