diff options
-rw-r--r-- | source3/smbd/open.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index ca84f1f039..937117bee0 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -3140,7 +3140,6 @@ static NTSTATUS create_file_unixpath(connection_struct *conn, if (lp_acl_check_permissions(SNUM(conn)) && (create_disposition != FILE_CREATE) - && (share_access & FILE_SHARE_DELETE) && (access_mask & DELETE_ACCESS) && (!(can_delete_file_in_directory(conn, smb_fname) || can_access_file_acl(conn, smb_fname, DELETE_ACCESS)))) { |