git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5cda71
)
Remove unneeded access check. This is done inside smb_set_file_time().
author
Jeremy Allison
<jra@samba.org>
Wed, 16 Nov 2011 00:16:54 +0000
(16:16 -0800)
committer
Jeremy Allison
<jra@samba.org>
Wed, 16 Nov 2011 01:01:58 +0000
(17:01 -0800)
source3/smbd/trans2.c
patch
|
blob
|
history
diff --git
a/source3/smbd/trans2.c
b/source3/smbd/trans2.c
index a5a1f83cebdcab06fa4f6a9c7957be0ee7677d63..caea4378e32dc5a5e044845f5ed3988171439963 100644
(file)
--- a/
source3/smbd/trans2.c
+++ b/
source3/smbd/trans2.c
@@
-6564,10
+6564,6
@@
static NTSTATUS smb_set_info_standard(connection_struct *conn,
return NT_STATUS_INVALID_PARAMETER;
}
- if (fsp && !(fsp->access_mask & FILE_WRITE_ATTRIBUTES)) {
- return NT_STATUS_ACCESS_DENIED;
- }
-
/* create time */
ft.create_time = convert_time_t_to_timespec(srv_make_unix_date2(pdata));
/* access time */