Using Metze's S4 nttrans rename test, the nttrans rename
authorJeremy Allison <jra@samba.org>
Tue, 11 Mar 2008 22:26:02 +0000 (15:26 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 11 Mar 2008 22:26:02 +0000 (15:26 -0700)
behaves the same as the trans2 one.
Jeremy.

source/smbd/nttrans.c

index f67ddd3b31d31b103b914daf4fc86b02cd63b210..bc93d19af3d1b5183a46508b73df824e12aa0184 100644 (file)
@@ -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)) {