The branch, v3-5-test has been updated
via cfb84c6... Fix logic bug where high bits tests was being done on
both Windows and POSIX mkdirs instead of only on Windows mkdir (as intended).
The variable "file_attributes" had already had FILE_FLAG_POSIX_SEMANTICS
removed above in the function if it had already been set. Jeremy. (cherry
picked from commit 54ba3f522bd26919183278643b417e9632524be9)
from 2abdeca... s3:fix endianness bug in dbwrap_change_int32_atomic()
(bug #6901)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test
- Log -----------------------------------------------------------------
commit cfb84c68030d4ee584db68b9c43c147c00a01ce2
Author: Jeremy Allison <[email protected]>
Date: Fri Nov 20 17:23:20 2009 -0800
Fix logic bug where high bits tests was being
done on both Windows and POSIX mkdirs instead of
only on Windows mkdir (as intended). The variable
"file_attributes" had already had FILE_FLAG_POSIX_SEMANTICS
removed above in the function if it had already been set.
Jeremy.
(cherry picked from commit 54ba3f522bd26919183278643b417e9632524be9)
-----------------------------------------------------------------------
Summary of changes:
source3/smbd/open.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 1f48daf..98984b8 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -2383,7 +2383,7 @@ static NTSTATUS mkdir_internal(connection_struct *conn,
smb_dname->base_name, mode);
}
- if (!(file_attributes & FILE_FLAG_POSIX_SEMANTICS)) {
+ if (!posix_open) {
/*
* Check if high bits should have been set,
* then (if bits are missing): add them.
--
Samba Shared Repository