[SCM] Samba Shared Repository - branch v3-6-test updated
Karolin Seeger
kseeger at samba.org
Wed Jun 13 11:49:00 MDT 2012
The branch, v3-6-test has been updated
via bb750d7 Fix bug #8972 - Directory group write permission bit is set if unix extensions are enabled
from 4cf3fb8 s3-winbindd: call dump_core_setup after command line option has been parsed
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test
- Log -----------------------------------------------------------------
commit bb750d7232bd266c06a14ac3ea577aeecfb81b14
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jun 13 10:48:32 2012 -0700
Fix bug #8972 - Directory group write permission bit is set if unix extensions are enabled
We can't manipulate file_attributes if it's a posix call.
-----------------------------------------------------------------------
Summary of changes:
source3/smbd/open.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 202643f..72b7d8e 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -2583,8 +2583,10 @@ static NTSTATUS open_directory(connection_struct *conn,
SMB_ASSERT(!is_ntfs_stream_smb_fname(smb_dname));
- /* Ensure we have a directory attribute. */
- file_attributes |= FILE_ATTRIBUTE_DIRECTORY;
+ if (!(file_attributes & FILE_FLAG_POSIX_SEMANTICS)) {
+ /* Ensure we have a directory attribute. */
+ file_attributes |= FILE_ATTRIBUTE_DIRECTORY;
+ }
DEBUG(5,("open_directory: opening directory %s, access_mask = 0x%x, "
"share_access = 0x%x create_options = 0x%x, "
--
Samba Shared Repository
More information about the samba-cvs
mailing list