diff options
author | Jeremy Allison <jra@samba.org> | 2011-11-15 16:16:54 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-11-15 17:01:58 -0800 |
commit | 93000c98ad42a2e089ba6b371d811263f953c23d (patch) | |
tree | 3bcaae98cf8caafdfb3875bb9268c415b34e57cc /source3 | |
parent | f5cda7160ce63abbde6878ca517680f417ffeb17 (diff) | |
download | samba-93000c98ad42a2e089ba6b371d811263f953c23d.tar.gz samba-93000c98ad42a2e089ba6b371d811263f953c23d.tar.bz2 samba-93000c98ad42a2e089ba6b371d811263f953c23d.zip |
Remove unneeded access check. This is done inside smb_set_file_time().
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/trans2.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index a5a1f83ceb..caea4378e3 100644 --- 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 */ |