[SCM] Samba Shared Repository - branch v3-6-test updated
Stefan Metzmacher
metze at samba.org
Tue Mar 22 11:00:10 MDT 2011
The branch, v3-6-test has been updated
via edb5c6e s4:ntvfs/posix: name->dos.attrib isn't initialized in pvfs_access_check_create()
from f09992e s3:docs: fix xml of "printnotifybackchannel" parameter (missing closing tag)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test
- Log -----------------------------------------------------------------
commit edb5c6e4cee16bfa47310f6200adde94882d6f18
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 22 16:34:36 2011 +0100
s4:ntvfs/posix: name->dos.attrib isn't initialized in pvfs_access_check_create()
That's why we have the 'container' parameter to indicate
the caller wants to create a directory.
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Tue Mar 22 17:39:11 CET 2011 on sn-devel-104
(cherry picked from commit b8d0994627ef237fdc92bebd9c9a26f9d62764bc)
-----------------------------------------------------------------------
Summary of changes:
source4/ntvfs/posix/pvfs_acl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/ntvfs/posix/pvfs_acl.c b/source4/ntvfs/posix/pvfs_acl.c
index addd680..67b544d 100644
--- a/source4/ntvfs/posix/pvfs_acl.c
+++ b/source4/ntvfs/posix/pvfs_acl.c
@@ -698,7 +698,7 @@ NTSTATUS pvfs_access_check_create(struct pvfs_state *pvfs,
status = pvfs_resolve_parent(pvfs, req, name, &parent);
NT_STATUS_NOT_OK_RETURN(status);
- if (name->dos.attrib & FILE_ATTRIBUTE_DIRECTORY) {
+ if (container) {
parent_mask = SEC_DIR_ADD_SUBDIR;
} else {
parent_mask = SEC_DIR_ADD_FILE;
--
Samba Shared Repository
More information about the samba-cvs
mailing list