summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/nttrans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index f67ddd3b31..bc93d19af3 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -1550,7 +1550,7 @@ static void call_nt_transact_rename(connection_struct *conn,
replace_if_exists,
False,
dest_has_wcard,
- DELETE_ACCESS);
+ FILE_WRITE_ATTRIBUTES);
if (!NT_STATUS_IS_OK(status)) {
if (open_was_deferred(req->mid)) {