The Samba-Bugzilla – Attachment 8695 Details for
Bug 9747
When creating a directory Samba allows inherited bit to slip through
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for 3.6.next
0001-Make-sure-that-we-only-propogate-the-INHERITED-flag-.patch (text/plain), 881 bytes, created by
Jeremy Allison
on 2013-03-28 16:38:49 UTC
(
hide
)
Description:
git-am fix for 3.6.next
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2013-03-28 16:38:49 UTC
Size:
881 bytes
patch
obsolete
>From 037c95990a1e26fbb90fe1aef44ef6bef9df0d87 Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Thu, 28 Mar 2013 09:36:41 -0700 >Subject: [PATCH] Make sure that we only propogate the INHERITED flag when we > are allowed to. > >Signed-off-by: Jeremy Allison <jra@samba.org> >--- > source3/lib/secdesc.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/source3/lib/secdesc.c b/source3/lib/secdesc.c >index b7c9fc5..7ff3a6a 100644 >--- a/source3/lib/secdesc.c >+++ b/source3/lib/secdesc.c >@@ -602,7 +602,8 @@ NTSTATUS se_create_child_secdesc(TALLOC_CTX *ctx, > if (!container) { > new_flags = 0; > } else { >- new_flags &= ~SEC_ACE_FLAG_INHERIT_ONLY; >+ new_flags &= ~(SEC_ACE_FLAG_INHERIT_ONLY| >+ SEC_ACE_FLAG_INHERITED_ACE); > > if (!(new_flags & SEC_ACE_FLAG_CONTAINER_INHERIT)) { > new_flags |= SEC_ACE_FLAG_INHERIT_ONLY; >-- >1.8.1.3 >
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
Flags:
rsharpe
:
review+
Actions:
View
Attachments on
bug 9747
:
8693
|
8694
| 8695