git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove unneeded access check. This is done inside smb_set_file_time().
[ira/wip.git]
/
source3
/
smbd
/
trans2.c
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 */