summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-03-11 13:59:04 -0700
committerJeremy Allison <jra@samba.org>2008-03-11 13:59:04 -0700
commit792c9725388a8d1fd91df49f520705fcc7ffcea1 (patch)
tree936e6a5ab8cfd2602e37b5ebbba453da2e7e736d /source3/smbd
parentb7a014a6ee1d71beae14a0f90460aa5fdfb5d07c (diff)
downloadsamba-792c9725388a8d1fd91df49f520705fcc7ffcea1.tar.gz
samba-792c9725388a8d1fd91df49f520705fcc7ffcea1.tar.bz2
samba-792c9725388a8d1fd91df49f520705fcc7ffcea1.zip
Metze pointed out this we don't need FILE_ATTRIBUTE_READ here.
Jeremy. (This used to be commit 923aa9f330cb370221af6b66cf0f237a9bd06f8e)
Diffstat (limited to 'source3/smbd')
-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 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,