From 93000c98ad42a2e089ba6b371d811263f953c23d Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 15 Nov 2011 16:16:54 -0800 Subject: Remove unneeded access check. This is done inside smb_set_file_time(). --- source3/smbd/trans2.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source3') 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 */ -- cgit