The Samba-Bugzilla – Attachment 16432 Details for
Bug 14631
Ensure vfs_acl_xattr sets SEC_DESC_DACL_AUTO_INHERITED on the share root in a sane way
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
WIP patch
s3-modules-zfsacl-set-SEC_DESC_AUTO_INHERITED-as-needed.patch (text/plain), 1015 bytes, created by
Andrew Walker
on 2021-02-05 02:07:38 UTC
(
hide
)
Description:
WIP patch
Filename:
MIME Type:
Creator:
Andrew Walker
Created:
2021-02-05 02:07:38 UTC
Size:
1015 bytes
patch
obsolete
>From d1a6f55312a3780ee70e87c8a8d41ddac4af96c9 Mon Sep 17 00:00:00 2001 >From: Andrew Walker <awalker@ixsystems.com> >Date: Thu, 4 Feb 2021 21:04:33 -0500 >Subject: [PATCH] s3:modules:zfsacl - set SEC_DESC_AUTO_INHERITED as needed > >When mapping absence of ACE_INHERITED_ACE to SEC_DESC_DACL_PROTECTED >control flags, ensure that we also explicitly set SEC_DESC_DACL_AUTO_INHERITED >to match Windows behavior. > >Signed-off-by: Andrew Walker <awalker@ixsystems.com> >--- > source3/modules/vfs_zfsacl.c | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/source3/modules/vfs_zfsacl.c b/source3/modules/vfs_zfsacl.c >index 467a0031119..f12baddd80e 100644 >--- a/source3/modules/vfs_zfsacl.c >+++ b/source3/modules/vfs_zfsacl.c >@@ -150,6 +150,7 @@ static NTSTATUS zfs_get_nt_acl_common(struct connection_struct *conn, > smb_fname_str_dbg(smb_fname)); > smbacl4_set_controlflags(pacl, > SEC_DESC_DACL_PROTECTED | >+ SEC_DESC_DACL_AUTO_INHERITED | > SEC_DESC_SELF_RELATIVE); > } > #endif >-- >2.21.0 (Apple Git-122) >
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 14631
:
16430
|
16431
| 16432 |
16433
|
16438