s3: smbd: Remove use of SMB_VFS_FCHMOD_ACL() in overwrite case.
authorJeremy Allison <jra@samba.org>
Thu, 17 May 2018 17:27:11 +0000 (10:27 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 25 May 2018 16:39:24 +0000 (18:39 +0200)
commitd03e9a861e207c8c0204e4f76cb4bdaec711f923
tree42fde84b8da88625bd03bc9e49f925566348ba18
parent41ee89b2ec76c289dfa5d481870aada27516cf1e
s3: smbd: Remove use of SMB_VFS_FCHMOD_ACL() in overwrite case.

We have potentially called SMB_VFS_FCHMOD() here in
the file_set_dosmode() call associated with the comment
/* Overwritten files should be initially set as archive */
at line 3755 above, so there is no need to do any POSIX ACL
mask protection.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/smbd/open.c