summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2006-08-06 20:36:26 +0000
committerjsorg71 <jsorg71>2006-08-06 20:36:26 +0000
commitffce76ed5cd4ddaa07e4681fea2652fc0310ebfd (patch)
tree66779c19fcfb0d9c32022fac5cf18a46d07603f8
parentf9aa0b9b106f4a839d9bdfad6dcb6b6e6d569d07 (diff)
downloadxrdp-proprietary-ffce76ed5cd4ddaa07e4681fea2652fc0310ebfd.tar.gz
xrdp-proprietary-ffce76ed5cd4ddaa07e4681fea2652fc0310ebfd.zip
fix for g_file_open
-rw-r--r--common/os_calls.c2
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
}