summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-07-17 05:55:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:28:41 -0500
commit1ffa14ff923ab5790e55bcedee9f10203cf8dfad (patch)
treeb0d11ab39be8eb30c9b86762f63e7ace6b87add7 /source3/smbd
parent02730aa86cf187cfcdcb71b07197e0071afd60cd (diff)
downloadsamba-1ffa14ff923ab5790e55bcedee9f10203cf8dfad.tar.gz
samba-1ffa14ff923ab5790e55bcedee9f10203cf8dfad.tar.bz2
samba-1ffa14ff923ab5790e55bcedee9f10203cf8dfad.zip
r23913: Revert back to Volker's original logic to fix the
RAW-SFILEINFO-RENAME until I can figure out what is different from the way CIFSFS drives this in the cthon tests and the way smbtorture drives it. Jeremy. (This used to be commit 99f72dd9af82921de4827b9b9d90d75127332295)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index e3ae0ef7f6..0062ca18da 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -4449,7 +4449,7 @@ NTSTATUS rename_internals_fsp(connection_struct *conn, files_struct *fsp, pstrin
if (dst_exists) {
files_struct *dst_fsp = file_find_di_first(file_id_sbuf(&sbuf1));
- if (dst_fsp && !(dst_fsp->share_access & FILE_SHARE_DELETE)) {
+ if (dst_fsp) {
DEBUG(3, ("rename_internals_fsp: Target file open\n"));
return NT_STATUS_ACCESS_DENIED;
}