diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/trans2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 85a7cdb613..d7a0f6eff8 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -4930,7 +4930,7 @@ static NTSTATUS smb_set_file_size(connection_struct *conn, } status = open_file_ntcreate(conn, req, fname, psbuf, - FILE_READ_ATTRIBUTES|FILE_WRITE_ATTRIBUTES, + FILE_WRITE_ATTRIBUTES, FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE, FILE_OPEN, 0, |