summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 660363a7f1..6aee06cc00 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -2140,7 +2140,7 @@ static int call_trans2setfilepathinfo(connection_struct *conn,
return -1;
}
- new_fsp = open_file_shared(conn, fname, &sbuf,
+ new_fsp = open_file_shared1(conn, fname, &sbuf,FILE_WRITE_DATA,
SET_OPEN_MODE(DOS_OPEN_RDWR),
(FILE_FAIL_IF_NOT_EXIST|FILE_EXISTS_OPEN),
0, 0, &access_mode, &action);