Remove the check for FILE_WRITE_ATTRIBUTES from smb_set_file_time(). It
authorJeremy Allison <jra@samba.org>
Wed, 16 Nov 2011 01:41:48 +0000 (17:41 -0800)
committerJeremy Allison <jra@samba.org>
Wed, 16 Nov 2011 01:41:48 +0000 (17:41 -0800)
commit865bc0c0ace0a4f8e5eb0277def2315867273071
tree2ab9337880684abf24e7cf7d89f4b53361c18fc9
parent86c16092194836d8478144b97da9ca08aec7fac6
Remove the check for FILE_WRITE_ATTRIBUTES from smb_set_file_time(). It
is called from places like fileio.c that need to update the write time
on a file handle only open for write, without neccessarily having
FILE_WRITE_ATTRIBUTES permission. Move all checks to before the
smb_set_file_time() callers.
source3/smbd/close.c
source3/smbd/reply.c
source3/smbd/trans2.c