The Samba-Bugzilla – Attachment 4960 Details for
Bug 6898
Samba duplicates file content on appending
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Patch
0001-s3-Fix-bug-6898.patch (text/x-diff), 782 bytes, created by
Volker Lendecke
on 2009-11-17 16:00:44 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2009-11-17 16:00:44 UTC
Size:
782 bytes
patch
obsolete
>From 44a750311b28f2728e4fa6170ce6a39d8e7eef8d Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Tue, 17 Nov 2009 23:00:09 +0100 >Subject: [PATCH] s3: Fix bug 6898. > >We always do pwrites and they are killed by O_APPEND. >--- > source3/smbd/open.c | 4 ---- > 1 files changed, 0 insertions(+), 4 deletions(-) > >diff --git a/source3/smbd/open.c b/source3/smbd/open.c >index 16cad8a..793d58a 100644 >--- a/source3/smbd/open.c >+++ b/source3/smbd/open.c >@@ -1682,10 +1682,6 @@ static NTSTATUS open_file_ntcreate(connection_struct *conn, > } > #endif /* O_SYNC */ > >- if (posix_open && (access_mask & FILE_APPEND_DATA)) { >- flags2 |= O_APPEND; >- } >- > if (!posix_open && !CAN_WRITE(conn)) { > /* > * We should really return a permission denied error if either >-- >1.6.0.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6898
:
4957
|
4958
|
4959
|
4960
|
4962
|
4982
|
4983
|
4984
|
4985
|
4987
|
4990